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.
Purebasic Repository
Re: Purebasic Repository
Very nice!
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.
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

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
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:
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.
@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 |
+--------------------------------------------------+
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

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
-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

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
-UPDATE 23/05/2010-
Category Lists Sortable (click the header!)
Top code working
Re: Purebasic Repository
Nice 
Top Code not working on Chrome or IE8, winxp pro sp3.
Top Code not working on Chrome or IE8, winxp pro sp3.
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
You're too quick!skywalk wrote:Nice
Top Code not working on Chrome or IE8, winxp pro sp3.
I was still uploading files... ehhehe
RSS feed now available too
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
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 ???
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
if you can do it with Ajax, it'll be much better than reloading.
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
New update
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 !
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 !
- lazarusoft
- User

- Posts: 24
- Joined: Wed Jan 10, 2007 10:17 pm
- Location: Brasil
Re: Purebasic Repository
Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
Thanks for the encouragement!lazarusoft wrote:Good work ....
As the PB community is growing maybe we will get equal to CPAN (http://www.cpan.org/) of PERL
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
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!
There is only one more milestone to go: The code submission formTotal 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 !!!
Re: Purebasic Repository
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!
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

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
I HATE INTERNET EXPLORER $#"%$
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:

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:

Last edited by Num3 on Wed Jun 23, 2010 10:32 am, edited 1 time in total.
Re: Purebasic Repository
wonderfully!!
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Re: Purebasic Repository
Just some fun with the new search engine i wrote
Not uploaded to the site yet

Not uploaded to the site yet




