The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
|
#12
|
|||
|
|||
Could you post the source you used for that original hack ? I really like it
|
#13
|
|||
|
|||
I will post it later today. Sorry, I've been really busy at work.
|
#14
|
|||
|
|||
Quote:
|
#15
|
|||
|
|||
Ir rulez man !
Just a question , I try to adjust the fonts to size=1 that works with everything except for this part print('<tr>'); print('<td>'); print('<font size=1><a href="showthread.php?s=&threadid=</font>'); print($row[0]); print('" target="_top">'); print($row[1]); print('</a></td>'); print('<td align="center">'); print($row[2]); print('</td>'); print('<td align="center">'); print($row[3]); print('</td>'); print('</tr>'); Where sould I add <font size=1> etc ... ? I know it's easy , but I'm not really a php wizard Thanks for the GREAt script ps:Is it possible to make the script rank them by most REPLIES instead of VIEWS or is that too hard ? anywayz ,it rox allready ! GOOD JOB IRC Thanks |
#16
|
|||
|
|||
To have it order by replies, you can change the line:
'ORDER BY views DESC LIMIT 10'; to 'ORDER BY replycount DESC LIMIT 10'; Put the font tags here: print('<tr>'); print('<td><font size="1">'); print('<a href="showthread.php?s=&threadid='); print($row[0]); print('" target="_top">'); print($row[1]); print('</a></font></td>'); print('<td align="center"><font size="1">'); print($row[2]); print('</font></td>'); print('<td align="center"><font size="1">'); print($row[3]); print('</font></td>'); print('</tr>'); |
#17
|
|||
|
|||
Something else first , do I add the able border/color options at the same spots you add the font tags ?
Now the serious question , I posted earlier that I need this kind of hack , but for the TOP POSTER (so not a link to a certain post) So just a list that shows us who are the top 3 posters on the forum Something like this TOP POSTERS UserA 188 POSTS USERB 150 POSTS UserC 100 POSTS |
#18
|
|||
|
|||
It shouldn't be too hard to get something that does what you want. I will work take a look at doing that for you.
As for where to put various formatting tags for the table. For tags that affect the whole table like cellpadding and border size, put them in the <table> tag. For the bgcolor or alignment of individual cells, put them in the <td> tags. I would consult a source on HTML. Once you know where to put a tag if the file was purely HTML, it is usually easy to find out where to put in a PHP file. |
#19
|
|||
|
|||
Here you go. Again I have stripped out most of the formatting stuff so you can add your own specificiations.
Quote:
|
#20
|
|||
|
|||
Of course as soon as I post it I realize that there is an unnecessary line of code in it. Delete this line:
$cur_time = mktime(date(G), date(i), date(s), date(m), date(d), date(Y)); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|