Purebasic Repository

For everything that's not in any way related to PureBasic. General chat etc...

Are you interested in the Purebasic Repository site?

Poll ended at Tue Jun 15, 2010 4:41 pm

Yes
18
95%
No
1
5%
 
Total votes: 19

JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Re: Purebasic Repository

Post 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.

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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)
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post by Num3 »

-UPDATE 23/05/2010-
Category Lists Sortable (click the header!)
Top code working
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Purebasic Repository

Post by skywalk »

Nice :)

Top Code not working on Chrome or IE8, winxp pro sp3.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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!
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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 ???
User avatar
idle
Always Here
Always Here
Posts: 5836
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Purebasic Repository

Post by idle »

if you can do it with Ajax, it'll be much better than reloading.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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 !
User avatar
lazarusoft
User
User
Posts: 23
Joined: Wed Jan 10, 2007 10:17 pm
Location: Brasil

Re: Purebasic Repository

Post by lazarusoft »

Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL :P
JAVA é como uma Ferrari, mas a diferença é que a Ferrari está em um caminhão cegonha... JAVA is like a Ferrari, but the difference is that Ferrari is in a truck stork ...
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post 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
User avatar
HwyStar
Enthusiast
Enthusiast
Posts: 101
Joined: Mon Apr 05, 2010 7:13 pm
Location: Reno, Nevada

Re: Purebasic Repository

Post 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!
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

I HATE INTERNET EXPLORER $#"%$

Post 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
Last edited by Num3 on Wed Jun 23, 2010 10:32 am, edited 1 time in total.
User avatar
angelian
New User
New User
Posts: 5
Joined: Tue Jun 08, 2010 1:08 pm

Re: Purebasic Repository

Post by angelian »

wonderfully!!
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Purebasic Repository

Post by Num3 »

Just some fun with the new search engine i wrote :lol:

Not uploaded to the site yet ;)

Image
Post Reply