The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
|||
|
|||
Quote:
|
#33
|
||||
|
||||
Nice Hack, Great job. Thanks
|
#34
|
|||
|
|||
Hi,
I reinstalled and its working fine now. Thanks. Qs: I need the thread/thread starter column to be aligned to the right. (Arabic forum). How do I do that? How do i center the title? I looked up the words in the phrase manager to translate them but couldn't find them. Thats how I always translate hacks. Am I missing something? Sorry about the many questions. Thank you. |
#35
|
|||
|
|||
Hi Yui. The mod is pretty simple. You will have to interpret this a little: I hard-coded some of the templates since I know my announcement forum is not going to change; this saves a query or two, for what it's worth.
forumhome_la Code:
</table> <DIV class="announcementbox"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="thead" colspan="3"> <a href='forumdisplay.php?f=2' class="forumtitle" style="font-size: 130%; font-stretch:wider"><span class="smallfont" style="float:right;margin-top:3px">Click here to see all announcements</span>Latest Announcements!</a> </td> </tr> </tbody> <tbody> $latest_announce_thread_bit </tbody> <tbody> <tr> <td class="thead" colspan="3"> <a href='faq.php#faq_subscriptions' class="smallfont" style="float:right;margin-top:3px">Subscriptions and Sponsorships</a> <a href='http://rw.rmxp.org/index.php?title=rules' class="forumtitle" style="font-size: 130%; font-stretch:wider">Rules and Guidelines</a> </td> </tr> </tbody> </table></div><br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> forumhome_la_threads Code:
<tr> <td class="tcat" style="font-size:90%" align="left" width="70%"> <span class="smallfont" style="float:right"><span style="cursor:pointer" onclick="window.open('member.php?u=$latest_announce_thread[postuserid]')">posted by $latest_announce_thread[postusername]</span></span> <a href="showthread.php?t=$latest_announce_thread[threadid]" style="font-weight: bold; text-decoration: underline;">$latest_announce_thread[title]</a> </td> <td class="alt1Active" align="left"> <center class="smallfont">Last post by <a href="member.php?find=lastposter&t=$latest_announce_thread[threadid]">$latest_announce_thread[lastposter]</a></center> </td> <td class="alt1Active" align="left"> <center class="smallfont">$latest_announce_thread[replycount] replies</center> </td> </tr> Code:
/* ***** style of box that contains latest announcements ***** */ .announcementbox{ padding:5px; margin:0px; border:solid #90e; border-width:1px; background-attachment: fixed; background-image: url("[whatever the background image of your forum is]"); background-repeat: repeat; } |
#36
|
|||
|
|||
Thank you MimeSong Erk for sharing this with us.
It did not work so well with my style, so I think I have to modify your code to suit my style! But honestly, your idea is nice.. I hope I will fix it soon. |
#37
|
|||
|
|||
Quote:
Quote:
|
#38
|
|||
|
|||
Thanks.
I got the thread/thread starter title aligned to the right but not the posts in that column. How do I change that? When I added vbphrases I got an error. I'm sorry to take up your time but could you show me what to change in the template? |
#39
|
|||
|
|||
Quote:
Code:
</table> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="tcat" colspan="5"> <a href='forumdisplay.php?f=$vboptions[fa_latest_announce_forum]' class="forumtitle">$vboptions[fa_latest_announce_forumname]</a> </td> </tr> </tbody> <tr align="center"> <td class="thead"></td> <td class="thead" align="left"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=asc&sort=title" rel="nofollow">Thread</a> / <a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=asc&sort=postusername" rel="nofollow">Thread Starter</a> </td> <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=desc&sort=lastpost" rel="nofollow">Last Post</a> <a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=asc&sort=lastpost&pp=20&page=1"><img class="inlineimg" src="$stylevar[imgdir_button]/sortasc.gif" alt="Reverse Sort Order" border="0" /></a></span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=desc&sort=replycount" rel="nofollow"> Replies </a> </span></td> <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=$vboptions[fa_latest_announce_forum]&order=desc&sort=views" rel="nofollow"> Views </a> </span></td> </tr> <tbody> $latest_announce_thread_bit </tbody> </table><br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> |
#40
|
|||
|
|||
Thanks Farjad, I can't believe I didn't see that in the first post.
Working on some updates to mine that will make it clearer when there have been posts in an announcement topic. I may post the changes when I am done or link to them, again if there is interest. |
#41
|
||||
|
||||
i have the forum icon hack i want to add a image where do i make the changes?
thanks |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|