Page 2 of 3

Re: Purebasic Repository

Posted: Wed May 19, 2010 10:16 am
by JCV
Very nice! 8)

Can users be able post an update on the existing code posted? it maybe an update to work on a newer version or post an optimized version of the code.

Re: Purebasic Repository

Posted: Wed May 19, 2010 10:34 am
by Num3
Thanks for your replies and suggestions.

@skywalker: Yes code listing (instead of cards) is already done on my local server, and sort options are planed for the section browsing.

I'll also implement a paging system (xxx results page 1 of xx), so you don't get a huge list of results.

The purearea code that was imported is not 100% accurate (in terms of dates and the user that made it), it can't be, unless someone manually reads all the pb code, note's down the user and real date it was made and posts it one by one on the server :(

@SFSxOI; I haven't implemented the dynamic code for that, it's just a static place holder for now. Also the email and print shortcuts are not implemented... Only the download code!

@JCV: Don't know about updating existing code, that might cause some trouble.

But if your idea is to get some old pb version code and repost it to a new pb version, that will work, just create a new post with the updated code and place it in the correct pb version slot.

I think i'll add a new database field, so that when you visit a code snippet you can see that there are other snippets for other pb versions & os's!

Something like this:

Code: Select all

+--------------------------------------------------+
| This code snippet is also available for PB 4.5x  |
+--------------------------------------------------+
Remember this is work in progress, until an official announcement is made!
I'll try to implement all ideas, but it takes time, i can only work on this at night and over the weekends.

Re: Purebasic Repository

Posted: Fri May 21, 2010 10:56 pm
by Num3
-UPDATE 21/05/2010-
Category Listing is now a list (duh)
Hit counters working
Source Code 'Card info' is now correct
SEO friendly URL's (http://purebasic.xipa.org/post-1199 ... http://purebasic.xipa.org/category-17 ... etc)

Re: Purebasic Repository

Posted: Sun May 23, 2010 3:31 pm
by Num3
-UPDATE 23/05/2010-
Category Lists Sortable (click the header!)
Top code working

Re: Purebasic Repository

Posted: Sun May 23, 2010 3:45 pm
by skywalk
Nice :)

Top Code not working on Chrome or IE8, winxp pro sp3.

Re: Purebasic Repository

Posted: Sun May 23, 2010 5:59 pm
by Num3
skywalk wrote:Nice :)

Top Code not working on Chrome or IE8, winxp pro sp3.
You're too quick!
I was still uploading files... ehhehe

RSS feed now available too ;) - check right upper corner!

Re: Purebasic Repository

Posted: Tue May 25, 2010 3:46 pm
by Num3
Just a quick opinion,

You guys want an AJAX Category Paging System or a normal link that reloads the entire page when you move between the pages ???

Re: Purebasic Repository

Posted: Tue May 25, 2010 9:05 pm
by idle
if you can do it with Ajax, it'll be much better than reloading.

Re: Purebasic Repository

Posted: Thu Jun 03, 2010 8:02 pm
by Num3
New update :mrgreen:

We are almost there!

I've revamped the site, added jquery, so users can have a wonderful UI selector (to come yet).

Almost everything is working. Only code upload and custom in site search is missing.

Added some nice tweaked tag clouds (or else 'If' 'Endif' would be the most used keywords of purebasic!)

I hope you like the jquery table, it has a nice quick search on top, and paginates!

Take a peek: http://purebasic.xipa.org !

Re: Purebasic Repository

Posted: Sat Jun 19, 2010 1:22 pm
by lazarusoft
Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL :P

Re: Purebasic Repository

Posted: Sun Jun 20, 2010 7:03 pm
by Num3
lazarusoft wrote:Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL :P
Thanks for the encouragement! :mrgreen:

I'm still working on it, i've just uploaded the latest version!

I'll stop messing with the site design, i think this new one is what PB is all about!

Search is now working without google ;), it only searches the on title and on poster name. (Parsing 4mb of code can take a loonng time)

I've dropped jquery for mootools and saved 120kb of bandwidth, only drawback is that the category tables are not paged anymore, but there is a filter to help you out.

Considering it's not yet an official site, and it's only one month old, the stats are quite incredible!
Total number of posts: 1203 (purearea imported)
Total number of post views: 3187
Total code size in archives: 4.42 Mb
Number of code downloads: 1813 !!!
There is only one more milestone to go: The code submission form :twisted: and then a beta phase will start

Re: Purebasic Repository

Posted: Mon Jun 21, 2010 4:14 pm
by HwyStar
Looks Good Man!

When I sort the Category pages by "Post Name", then look at the code, then go back to the categories page it defaults back to sorting by date column... Set a session var for the header selected?

Thanks for the pages dude!

I HATE INTERNET EXPLORER $#"%$

Posted: Wed Jun 23, 2010 9:15 am
by Num3
AND THIS IS WHY I HATE IE 7 / 8:

The nice table script that runs on the categories listing works very fast and flawless on all browsers, except IE.

Internet Explorer just pulls the hand brake when executing the script, just try the Gadgets category, the html loads fast (has expected) but when it starts processing the script, IE just locks for quite a long time and you might even get script Time Outs.

Now i have two options:

1) Leave the script has is, and all IE users will have to live with that.

2) Change it from table (and loose the script) to a google like output.

Feedback is welcome, has this is a important change!

Here's a screenshot using method 2:
Image

Re: Purebasic Repository

Posted: Wed Jun 23, 2010 10:15 am
by angelian
wonderfully!!

Re: Purebasic Repository

Posted: Wed Jun 23, 2010 10:43 am
by Num3
Just some fun with the new search engine i wrote :lol:

Not uploaded to the site yet ;)

Image