The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
First post on every page of thread. Details »» | |||||||||||||||||||||||||
I had a use for it, so I thought I would share it.
Requires no file edits (Thanks Kirby!). Adds no quarys when viewing threads This is something like here on vbulletin.org , it allows you to select forums where the first post of the thread is shown thru out the thread. It uses stock template looks now , if someone wishes to make a template and share it feel free. I will offer support as I can. Ps. If you install this hack please click the install :nervous: Templates for first post: https://vborg.vbsupport.ru/showpost....&postcount=124 https://vborg.vbsupport.ru/showpost....&postcount=161 Show Your Support
|
Comments |
#192
|
||||
|
||||
Quote:
I hope that works for what your wishing to do. |
#193
|
|||
|
|||
Yeah I am updating right now so I kind of broke something lol.
|
#194
|
|||
|
|||
installed!..thanx a lot!!..nice hack! :banana:
|
#195
|
||||
|
||||
Thx its great, i installed it and i have edited for my own. i can see in att.
Code:
<!-- post #$post[postid] --> <if condition="$show['spacer']"> $spacer_open <div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px"> <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if> </if> <table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" colspan="4" $post[scrolltothis] align="center"> <div class="normal" style="float:$stylevar[right]"> <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if> <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /> </if> </div> <div class="normal"> <!-- status icon and date --> <a style="float:$stylevar[left]" name="post$post[postid]"> <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> </a> $post[firstnewinsert] <!-- / status icon and date --> <if condition="$show['messageicon']"> <img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /> </if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> </td> </tr> <tr> <td class="alt2" rowspan="3" width="75" style="vertical-align:top;"> <img class="inlineimg" src="images/firstpost.gif" alt="" border="0" /> </td> <td class="alt2"> <table> <tr> <td> <strong>Son Giriş:</strong> $post[postdate] </td> </tr> <tr> <td> <if condition="$show['detailedtime']"> <strong>Post Time : </strong> $post[posttime] </if> </td> </tr> </table> </td> <td class="alt2"><br><center><if condition="$show['messageicon']"> <img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /> </if> <if condition="$post['title']"><strong><font color="darkred" size="3">$post[title]</font></strong></if></center> </td> <td class="alt2" rowspan="3"> <table> <tr> <td> <!-- user info --> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"> <div class="smallfont"> $post[usertitle] </div> </if> <if condition="$post['rank']"> <div class="smallfont"> $post[rank] </div> </if> <if condition="$show['avatar']"> <div class="smallfont"> <a href="member.php?$session[sessionurl]u=$post[userid]"> <img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <!-- user info --> </td> </tr> </table> </td> </tr> <tr> <td class="alt1" style="vertical-align:top;"> <div class="normal"> <!-- status icon and date --> $post[onlinestatus] $post[iplogged]<if condition="$show['reportlink']"> <a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"> <img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="Report Bad Submition" border="0" /> </a> </if> </div> </td> <td class="alt1"> <div class="normal"> <!-- status icon and date --> <if condition="$show['reputationlink']"> <a href="#" onclick="reputation($post[postid]); return false;"> <img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /> </a> </if> <if condition="$show['reputation']"> <if condition="$show['reppower']"> <a style="float:$stylevar[left]" name="~">$vbphrase[reppower]: $post[reppower] </if> $post[reputationdisplay] </a> </if> </div> </td> </tr> <tr> <td class="alt2"> <if condition="$show['postedited']"> <strong>Konunun Son D?zenlenmesi:</strong> $post[edit_date], $post[edit_time] <else /> <strong>Konunun Son D?zenlenmesi:</strong> Hi? </if> </td> <td class="alt2"> <if condition="$thread['rating']"> <span style="float:$stylevar[center]"> <strong>Konuya Verilen Puan:</strong> <img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /> </span> <else /> <strong>Konuya Verilen Puan:</strong> Yazık ya hi? puan vermemişsiniz adam o kadar emek vermiş </if> </td> </tr> <!-- / user info --> <tr style="vertical-align: top"> <td class="alt1" colspan="3" id="td_post_$post[postid]"> <table width="100%"> <tr width="100%"> <td width="100%"> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> </td> </tr> <tr> <td width="100%"> <!-- attachments --> <if condition="$show['attachments']"> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </if> </div> <!-- / attachments --> </td> </tr> <tr> <td> <if condition="$show['attachments']"> <!-- attachments --> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <!-- / attachments --> </if> </td> </tr> </table> <!-- / message --> </td> <td class="alt1" align="center" width="250"> <div align="left"> <fieldset style="border: 1px dashed #99CCFF; height: 380px;" ><legend>Konuyu A?anın Bilgileri:</legend> <table> <tr> <td> <div class="smallfont">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> </td> </tr> <tr> <td> <div class="smallfont"> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> </div> </td> </tr> <tr> <td> <div class="smallfont"> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> </div> </td> </tr> <tr> <td> <div class="smallfont"> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> </td> </tr> <tr> <td> <div class="smallfont"> $vbphrase[posts]: $post[posts] <br><br><br><table align="center"><script type="text/javascript"><!-- google_ad_client = "pub-3975276571572787"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel =""; google_color_border = "880000"; google_color_bg = "FFFFFF"; google_color_link = "880000"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></table> </div> </td> </tr> </table> </fieldset> </div> </td> </tr> <!-- / attachments --> <!-- message, attachments, sig --> <tr> <td class="alt2" colspan="4" align="left"> <div class="normal" style="float:$stylevar[right]"> <if condition="$post['editlink']"> <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> </div> </td> </tr> </table> <!-- post $post[postid] popup menu --> <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$post[username]</td> </tr> <if condition="$show['profile']"> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr> </if> <if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table> </div> <!-- / post $post[postid] popup menu --> <if condition="$show['spacer']"> </div> $spacer_close </if> <!-- / post #$post[postid] --> |
#196
|
||||
|
||||
ok...i installed this and made the template. i see the option to put the first post when i edit the forum, but nothing is showing up.... did i miss something?
does this work on 3.5.4?? |
#197
|
||||
|
||||
how does the "Last Update " work?
|
#198
|
|||
|
|||
Works fine in 3.5.4. I'm using this at my site, though I have changed the template around alot! http://www.vbhackers.com/forum/showthread.php?t=1412
|
#199
|
||||
|
||||
Ho wwould i even test this to see if it works? ho wdo i set something as the first post? when i upload the poroduct it seems to give me some sort of error, but redirects to quickly to let me see it.
|
#200
|
|||
|
|||
Someone, please, give me suggestion's or tip's how to give permision to group, edit only first post of th tread (with this hack installed)
|
#201
|
||||
|
||||
anyone have template for vbadvance postbit?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|