Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 May 2001, 18:45
cihangir's Avatar
cihangir cihangir is offline
 
Join Date: Nov 2001
modification on the "last 10 posts hack" from wluke


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i use the hack for the last 10 posts from wluke. the links looks like:

the name of the thread
views - replies

but i just want something like this:

the name of link [ >>> ]
views - replies

with my html knowledge i could not make the necessary change on the line:

<a href=\"http://www.zoque.com/vbulletin/showthread.php3?threadid=%d\">%s</a>

best regards
__________________
www.zoque.com
Reply With Quote
  #2  
Old 10 May 2001, 22:58
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
I don't remember writing this.

This comes to mind for a couple of reasons...

1. I would use vBulletin's built in database functions because they have more flexibility.

2. I would have used a template instead of hardcoding the HTML in the file.

Maybe Kevin (Tubedogg) wrote this....

However simply make HTML as usual. Each %s is a string variable that is listed at the end of the printf. Match the variable with its %s and you can change the look.
__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.
Reply With Quote
  #3  
Old 11 May 2001, 01:24
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
I think that might be some iteration of IRC's active topics hack. Not mine, I don't know how to use printf.
Reply With Quote
  #4  
Old 11 May 2001, 15:45
JamesUS's Avatar
JamesUS JamesUS is offline
 
Join Date: Oct 2001
If I remember correctly that is the original active topics hack that I used last year on my board (though I didn't write it). It was released within a couple of months of vB coming I think.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:46.

Layout Options | Width: Wide Color: