24.02.02

small hack for archives  -  @ 05:41:36 487
i wrote a small hack that gives the archive page an extra option of sort like this. it obviously worked for me. but i want some beta testers before i release it. just so i didn't make stupid mistakes while re-editing it into a general hack. it's really easy to install esp. if you know php and have b2 v0.6pre installed. readme is here and zip is here. email me if you have problems. thanks!
13 comments

 

:: comments

 

ecila - email
there's nothing in that zip file =(
24.02.02 @ 06:28:50 520

 

Jason Velocity - email - url
I think this is what you are looking for...
24.02.02 @ 06:54:46 538

 

Jason Velocity - email - url
actually, that's only half of it. Damn.
24.02.02 @ 06:59:19 541

 

dodo - email - url
sorry, i reuploaded. my ftp died on me. please go download again!
24.02.02 @ 07:07:20 546

 

Jason Velocity - email - url
I had an issue with the variable $blogfilename. I changed all 5 occurances to $blogfile, and all was well
24.02.02 @ 11:59:18 749

 

Jason Velocity - email - url
another detail....:

in the file you have the tablename set to posts, while the default should be b2posts. Thanks for the hack
24.02.02 @ 12:05:17 753

 

Trace - email - url
Changing the post table wasn't an issue here - it had to be done anyway. Other than that, I made no major changes. It's installed and works great. Thanks Dodo!
25.02.02 @ 03:00:43 375

 

dodo - email - url
aww, great to hear it worked well. the table and blogfilename can all be changed the begining of the archive files =)
25.02.02 @ 05:21:41 473

 

TS. - email - url
Well after changing the variables as advised, everything works a treat. Its one of the things I had on my todo list...after learn php lol
Thanks for your work Dodo.
25.02.02 @ 22:20:23 180

 

michel v - email - url
I noticed that it used a LOT of queries on your page, Dodo. Like old b2 versions used to.
But replace all occurences of get_postdata with get_postdata2 and it would only use one query : ) 
27.02.02 @ 01:44:23 322

 

dodo - email - url
thank you, i changed that, it's working great. please download the new version for my hack if you want!
27.02.02 @ 16:08:40 922

 

fof
uhm.....
12.03.02 @ 10:52:23 703

 

Kathie - email - url
thx dodo. that hack was really useful and it worked for me : ) 
15.04.03 @ 23:41:26 195

 

:: leave a comment

 

name

email

url

your comment

Auto-BR (line-breaks become <br> tags)

 

:: return to the blog

[powered by b2.]

4 sp@mbots e-mail me