The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#122
|
|||
|
|||
An admin selects it via admnicp.
And I'll have the new version out as soon as I finish up on other projects |
#123
|
|||
|
|||
Looks like HS's
|
#124
|
|||
|
|||
sorry if its already been posted but is there anyway i can get this to show in one single board, instead of on the forum home page?! many thanks.
edit - seen your reply, cant wait for new version!! |
#125
|
|||
|
|||
Here are some suggestions:
1) I like the idea of automatically choosing the winner based on votes. The thread ID should be inputed through AdminCP for the thread who's poll votes will determine the winner. 2) I'd also like to see the person's avatar to the left of the sig. Clicking on it would allow you to view their profile. 3) I'd like the ability to place it above a forum of my choosing. Controlled through AdminCP. 4) It would be nice to expand this hack to include Avatar, wallpaper...or any other category selected by us. Each Category could have an option to place a unique box in a different forum. 5) It would be nice to not have to do ANY template edits. What do you think Enigma? Possible? If this means it goes pro, I'll pay for a mod like that. |
#126
|
|||
|
|||
I figured out how to do #2. For those of you interested do the following:
Open enig_sotw template and replace all of its contents with the below: Code:
<if condition="$vboptions[sotw_enable] ==1"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" colspan="2"> <tr> <td class="tcat" colspan="3"> <center><a href="$threadurl">$vbphrase[sotw]</a></center> </td> </tr> <tr> <td class="thead" colspan="1" width="20%"> <center>Winner</center> </td> <td class="thead" colspan="1" width="60%"> <center>Signature</center> </td> <td class="thead" colspan="1" width="20%"> <center>Info</center> </td> </tr> <tr> <td class="alt1" width="20%"> <center><a href="member.php?u=$suserid"><img src="image.php?$session[sessionurl]u=$suserid" alt="$susername's Avatar: Click to view Profile" border="0" /></a> </center> </td> <td class="alt1" width="60%"> <center><a href="$threadurl"><img src="$imageurl" alt="Sig Of The Week: Click to view Thread" border="0" /></a> </center> </td> <td class="alt2" width="20%" align="center"> <fieldset colspan="2"> <legend>Details</legend> <strong>Winner: </strong><br /> <a href="member.php?u=$suserid">$susername</a><br /> <strong>Total Votes:</strong> <br />$votes<br /> <strong>Award $vbphrase[sotw_date]</strong><br /> $date<br /> <strong>Admin Rating:</strong><br /><img src="images/rating/rating_$adminrating.gif" alt="<if condition="$adminrating == 1">Bad</if><if condition="$adminrating == 2">Ok</if><if condition="$adminrating == 3">Good</if><if condition="$adminrating == 4">Great</if><if condition="$adminrating == 5">Excellent</if>" /><br /> <strong>Prize:</strong> <br />$prize<br /> </fieldset></td></tr><tbody> <tr> <td class="thead" align="center" colspan="3"><div class="smallfont"><strong> <a href="sighistory.php$session[sessionurl_q]" rel="nofollow">$vbphrase[sotw_history]</a> <a href="$next">Next Weeks Voting</a> </strong></div></td> </tr> </tbody> </table> <br /> </if>
It will not display an image if the winner does not have an avatar. |
#127
|
|||
|
|||
Yes good suggestions. I will include them in the new version
|
#128
|
|||
|
|||
Quote:
This is what I have in the forumdisplay template: Code:
<if condition="$forumid == 7">$sotw</if> Code:
<if condition="$show['threadslist']"> Could you please tell me what they were? Or, could you please help me to place it in a certain forum? |
#129
|
|||
|
|||
Never mind. I figured it out. The hook location should be set to forumdisplay_complete.
Enigma, hope you don't mind me attaching a revised text document with instructions on how to put it in certain forums. Let me know otherwise and I will edit my post. Still wish I could control which forum id's they are placed in via the admincp... Also, I've edited my post above concerning the enig_sotw template. Made some minor changes I thought others might want. |
#130
|
|||
|
|||
dancue, thats amazing, works now
|
#131
|
|||
|
|||
To control the forumid add this conditional to your template
<if condition="in_array($forum[forumid], array(x,y))"> or for 1 id <if condition="$forum[forumid] == x"> |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|