View Full Version : Show Thread Enhancements - Guests First Post Only
Dismounted
01-18-2008, 03:36 AM
Are there the exact same amount of each?
buurman
01-18-2008, 04:56 AM
I tryed to edit my post earlyer, but the vbulletin.org database quited on me, but it works now.
Call me a fool, I did.. I didnt read the instruction in the html file, so didnt make the postbit edits yet....
So sorry, its works wunderfully!!! thx for the great addon!
sacredfire
01-27-2008, 03:28 AM
I installed this the other day but finally made it fully active.
I notice that if a thread has more than one page when clicked the visitor comes to a plank page...
It works if they click on the title or page "1" but if page "2, 3 etc." and Last post is clicked it happens.
you can see it here San Diego Photograpy (http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib-2.html).
Am I the only one with this problem?
You an all others also have another big problem ! :eek:
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib.html?mode=hybrid
Switch to hybrid mode an then click on one post.....
You can read all - not together, but every post by clicking.
I already posted it here:
https://vborg.vbsupport.ru/showpost.php?p=1375856&postcount=240
For a quick solution go to your template "showthread"
search for: $show['hybridmode']
and set that whole part in a <if condition="$show[access]">
Also do it for the prinable version - there you also can read ALL !
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib-print.html
I use that not for guests - I use it for groups they pay to read all - and it`s really bad, when the non-payers can also read....
I found out by having an eye on my who is online list....and saw one, who always looked on printable versions of every thread.....
And - don`t you all do not change your logo also in the printable version ???
http://www.pieppiep.nl/forum/printthread.php?t=2036
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib-print.html
.....
is always shown the vbulletin logo !
momo2
02-04-2008, 03:04 PM
installed how ever, i can still see links after 4 times any idea ?
SpreadingLight
02-06-2008, 05:08 AM
How about letting guests Post 1 (or 2 or 3) posts, before being required to register?
ChaosBurnt
02-09-2008, 12:01 PM
Neat Mod', thanks for this.
Big thanx to kube for the tips!
blueraider
02-18-2008, 05:19 PM
Great hack. Was wondering if their was a way i could make it to where it cuts off part of the first post/new thread, so they would have to register in order to read the rest of the first part.
UltraFanatics
02-25-2008, 04:55 PM
As with my other modifications, I haven't had the time to play with 3.7 yet, but they will get there.
Please do this for 3.7 it was great before and I'd love it asap if possible? :)
Dismounted
02-26-2008, 04:50 AM
I will wait until 3.7 hits Gold. Beta software are not considered "stable" and there probably will be many changes until it does hit Gold.
UltraFanatics
02-28-2008, 05:43 PM
Damn
UltraFanatics
03-10-2008, 11:16 PM
So eager for this!
Are there any others or can you do this mate?
Iron Guard
03-11-2008, 08:10 PM
I installed this hack and am not seeing the results.
To break down my process:
uplaoded the"upload" folder via ftp into my root directory
then went through the import process via the ACP
inserted the code (cut and pasted the code) in postbit and postbit_legacy in both styles
and nothing!
Tried to a couple of things without success (including checking forum manager to enable) and I still did not have any success. I am running 3.6.8
I am really looking forward to getting this mod functional.
Thanks
Dismounted
03-12-2008, 09:05 AM
Have you checked if you have any stray conditionals (<if and </if>) in your postbit templates.
Iron Guard
03-12-2008, 03:16 PM
Have you checked if you have any stray conditionals (<if and </if>) in your postbit templates.
I have examined the template and other than those that were in the bottom bit of code that I cut and pasted into the template I can't be sure because I don't have enough expertise to know if they are stray or not
thanks
Todd
Iron Guard
03-12-2008, 09:21 PM
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2">
<!-- End Guests First Post Only Hack -->
$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<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['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
<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="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<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]" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><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></td></if>
<td nowrap="nowrap">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<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>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<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>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- 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['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</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>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<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['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></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>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- 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]" rel="nofollow"><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>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Welcome!</td>
</tr>
<tr>
<td class="alt1">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->
Dismounted
03-13-2008, 06:11 AM
Are you using postbit or postbit_legacy? Please post the template you are using.
Iron Guard
03-13-2008, 12:25 PM
First off I appreciate your patience. Did I mention I am a bit of a tech-tard?
When you ask if I am using postbit or postbit_legacy, do you mean in my previous post or within vB for the modificiation
I edited both templates,postbit and postbit_legacy, in each style (dark and default), . Was that correct?
I will post the edited template again with the title...( I hope this is what you meant.)
Iron Guard
03-13-2008, 12:28 PM
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2">
<!-- End Guests First Post Only Hack -->
$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<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['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
<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="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<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]" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><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></td></if>
<td nowrap="nowrap">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<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>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<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>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- 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['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</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>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<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['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></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>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- 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]" rel="nofollow"><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>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Welcome!</td>
</tr>
<tr>
<td class="alt1">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->
Iron Guard
03-13-2008, 12:31 PM
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2">
<!-- End Guests First Post Only Hack -->
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$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]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<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>
$template_hook[postbit_userinfo_left]
<if condition="$show['avatar']">
<div class="smallfont">
<br /><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>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<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>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- 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['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</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>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<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="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<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['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></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>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- 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]" rel="nofollow"><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_more_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>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Welcome!</td>
</tr>
<tr>
<td class="alt1">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->
Iron Guard
03-13-2008, 12:37 PM
looking forward to your response!!....*checks computer every 5 minutes*
forumrunt
03-14-2008, 05:14 PM
hmm not working for me either :( I activated the forums I must have missed something it seemed so simple
Iron Guard
03-14-2008, 07:34 PM
The ability to activate them didn't even show up in my admin panel:confused: I have read every post in this thread and it would seem to me that it has something to do with my template edit....but I am not sure what.
I guess its not about knowing how to turn screws but which screws to turn....I remain hopeful!
Dismounted
03-15-2008, 11:26 AM
First off I appreciate your patience. Did I mention I am a bit of a tech-tard?
When you ask if I am using postbit or postbit_legacy, do you mean in my previous post or within vB for the modificiation
I edited both templates,postbit and postbit_legacy, in each style (dark and default), . Was that correct?
I will post the edited template again with the title...( I hope this is what you meant.)
Which one are you using on your board? Do your posts display with the username and information above the post or beside?
The ability to activate them didn't even show up in my admin panel:confused: I have read every post in this thread and it would seem to me that it has something to do with my template edit....but I am not sure what.
I guess its not about knowing how to turn screws but which screws to turn....I remain hopeful!
You need to activate the modification on a per forum basis through the Forum Manager.
Iron Guard
03-15-2008, 07:24 PM
The posts show with the username above.
As far as activation, I understand they are supposed to show up in the forum manager, however there is no panel in which to enable them.
I even did an uninstall, with a re-install and uploaded "bitfield_guests_first_post_only.xml" manually into /includes/xml/ folder, with no luck
So my question is, was it necessary to do the template edits in both postbit and postbit_legacy for both styles, or should I have chosen only one template in both styles.
Thanks
Dismounted
03-16-2008, 02:39 AM
As far as activation, I understand they are supposed to show up in the forum manager, however there is no panel in which to enable them.
What steps are you taking to try get to the setting?
So my question is, was it necessary to do the template edits in both postbit and postbit_legacy for both styles, or should I have chosen only one template in both styles.
It doesn't matter, but I'm just asking so I can concentrate on looking at one template, instead of scanning two.
Iron Guard
03-16-2008, 04:12 AM
What steps are you taking to try get to the setting?
ACP>Forums & Moderators>Forum Manager>Edit (in each of the forums I want to activate, but no setting in the edit portion).
It doesn't matter, but I'm just asking so I can concentrate on looking at one template, instead of scanning two
Ok, I see. So hopefully I have not missed something somewhere. I appreciate your help.
Todd
yinyang
03-16-2008, 02:31 PM
Has anyone given this a go for 3.7 yet?
Also, dismounted, is it possible to modify this so guests and non-subscribers can only see the first "x" characters of the first post? ... or even just the thread title?
WAIT ... can this be usergroup specified? I'd like only some to see just the thread title?
Also, what's your paypal email so I can donate to you.
Dismounted
03-17-2008, 06:32 AM
What steps are you taking to try get to the setting?
ACP>Forums & Moderators>Forum Manager>Edit (in each of the forums I want to activate, but no setting in the edit portion).
That's probably why it's not working. I'm not sure why that happens, but it does sometimes. Try accessing this URL, replacing yoursite.com with your domain.
http://www.yoursite.com/forums/admincp/index.php?do=buildbitfields
Has anyone given this a go for 3.7 yet?
This probably won't work in 3.7.
Also, dismounted, is it possible to modify this so guests and non-subscribers can only see the first "x" characters of the first post? ... or even just the thread title?
Can be modified to do so, but not planned at the moment.
can this be usergroup specified? I'd like only some to see just the thread title?
It is planned in the next version, but at the moment, it just restricts guests.
Also, what's your paypal email so I can donate to you.
See the donation link under my avatar in the modification post (first post).
Iron Guard
03-17-2008, 03:16 PM
Hmmmm well I put in the URL (with my site) and attached is a screenshot of the error message.
yinyang
03-17-2008, 04:35 PM
This probably won't work in 3.7.
yup, doesn't work in 3.7... damn.
Iron Guard
03-18-2008, 04:36 AM
Whoa! Finally got it sorted out and it is working fine. The issue was a matter of having the admin cp open when i typed the url into the browser, it then refreshed the bitfield and presto I was up and running.
Thanks for the tip and all the help.
Todd
Dismounted
03-18-2008, 05:57 AM
Hmmmm well I put in the URL (with my site) and attached is a screenshot of the error message.
You copied the displayed version of the URL because it was deemed too long by vBulletin. You should used the full URL, as below:
http://www.yoursite.com/forums/admincp/index.php?do=buildbitfields
UltraFanatics
03-20-2008, 12:27 PM
yup, doesn't work in 3.7... damn.
I know :(
Skierpetros
03-20-2008, 03:30 PM
i have install it but nothing happen why???
Dismounted
03-21-2008, 11:49 AM
Have you read the readme?
masterross
03-21-2008, 10:56 PM
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT gfpoforumoptions FROM vb_forum WHERE forumid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Saturday, March 22nd 2008 @ 12:45:47 AM
Script : http://www.my-forum.com/usernote.php?u=205025
Referrer :
mean this code:
global $db, $isnotpost;
if ($isnotpost != 1)
{
$gfpo_query = $db->query_read("SELECT gfpoforumoptions FROM " . TABLE_PREFIX . "forum WHERE forumid = " . $thread['forumid'] . "");
$gfpo = $db->fetch_row($gfpo_query);
$gfpo = $gfpo[0];
}
should be modified to exclude User Notes?
plz check
R34GTT
03-21-2008, 11:05 PM
Tried installing but no joy (using 3.6.8)
the options arent coming up in the "forum manager>>edit forum" page?
Any advice please?
do you want to look at the post bit and legacy code?
thanks
masterross
03-21-2008, 11:07 PM
fixed!
use this:
global $db, $isnotpost;
if ($isnotpost != 1)
{ $tid = $thread['forumid'];
$gfpo_query = $db->query_read("SELECT gfpoforumoptions FROM " . TABLE_PREFIX . "forum WHERE forumid = '$tid'");
$gfpo = $db->fetch_row($gfpo_query);
$gfpo = $gfpo[0];
}
masterross
03-21-2008, 11:11 PM
Tried installing but no joy (using 3.6.8)
the options arent coming up in the "forum manager>>edit forum" page?
Any advice please?
do you want to look at the post bit and legacy code?
thanks
the option to activate is here:
ACP > Forums & Moderators > Forum Manager
and choose On/Off for every forum u want
R34GTT
03-21-2008, 11:19 PM
the option to activate is here:
ACP > Forums & Moderators > Forum Manager
and choose On/Off for every forum u want
thats the page I meant, sorry.
The options arent coming up :(
did you want to look at my code?
many thanks
masterross
03-21-2008, 11:22 PM
probably u forgot to upload bitfield_guests_first_post_only.xml?
in includes/xml
R34GTT
03-21-2008, 11:28 PM
Fixed, many thanks to you :)
masterross
03-21-2008, 11:29 PM
n/p
ur welcome
R34GTT
03-22-2008, 12:13 AM
You an all others also have another big problem ! :eek:
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib.html?mode=hybrid
Switch to hybrid mode an then click on one post.....
You can read all - not together, but every post by clicking.
I already posted it here:
https://vborg.vbsupport.ru/showpost.php?p=1375856&postcount=240
For a quick solution go to your template "showthread"
search for: $show['hybridmode']
and set that whole part in a <if condition="$show[access]">
Also do it for the prinable version - there you also can read ALL !
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib-print.html
I use that not for guests - I use it for groups they pay to read all - and it`s really bad, when the non-payers can also read....
I found out by having an eye on my who is online list....and saw one, who always looked on printable versions of every thread.....
And - don`t you all do not change your logo also in the printable version ???
http://www.pieppiep.nl/forum/printthread.php?t=2036
http://www.sdphotoforum.com/digital-camera/nature-animals/431-2-17-07-sunset-ib-print.html
.....
is always shown the vbulletin logo !
Regarding this, can anyone give me an example of the code you change please as I don't get which parts to change?
for the hybrid view and printable version
thanks
R34GTT
03-22-2008, 12:41 PM
anyone?
thanks
UltraFanatics
04-07-2008, 12:29 PM
I see it says 3.6x
Does that now mean its ok on 3.7?
Dismounted
04-08-2008, 06:25 AM
I have not tested it on 3.7 yet.
cjwinternet
04-09-2008, 04:28 PM
I'm getting hundreds of guests that don't need to see replies, and its putting an incredible strain on the server.
Could this mod be used to reduce memory usage on my board ?
codershark
04-09-2008, 05:34 PM
not works on 3.7 :(
Dismounted
04-10-2008, 05:33 AM
I'm getting hundreds of guests that don't need to see replies, and its putting an incredible strain on the server.
Could this mod be used to reduce memory usage on my board ?
Not really. The posts still load, they are just not shown to guests.
glenvw
04-10-2008, 03:31 PM
Subscribing to receive alert when it works on 3.7 (using Candidate 2)
stonner
05-01-2008, 07:00 PM
since the update to 3.7 it doesnt work anymore...
will it be updated?
It's one of my most important mods!
thank you!
Dismounted
05-02-2008, 11:27 AM
When I get around to it, yes.
R34GTT
05-03-2008, 01:19 PM
Anyway to make guests and registered users not see these posts? as I have additional usergroups that will only be allowed to view
nitromethane126
05-05-2008, 01:08 AM
I installed this hack on vB 3.6.5 and the current version of PhotoPost vbGallery.
Now I can't see any of the posts undearneath the pictures, even logged in.
I did a search but cant find this issue addressed aynwhere. Did I miss something? Is there a fix?
nitromethane126
05-05-2008, 11:04 AM
Don't know if its been posted already somewhere, but I figured it out. I'll post it here in case it's of benefit to anyone in future. Afterall, nothing is more annoying than unanswered questions on forums when you're trying to find the answers ;)
This code will fix the problem that PhotoPost's vBGallery has, where it won't display the posts underneath the photos even to registered users.
Replace the code that goes at the top of postbit and postbit_legacy with:
<!-- Start Guests First Post Only Hack -->
<if condition="PP_SCRIPT == 'vBGallery' OR $memid == 1 || $memid == 2">
<!-- End Guests First Post Only Hack -->
jasculs
05-08-2008, 11:26 AM
Anyway to make guests and registered users not see these posts? as I have additional usergroups that will only be allowed to view
I would like to know the answer to this also. Thanks
Deimos
05-10-2008, 03:47 PM
Anyone managed to get this working for 3.7?
stonner
05-11-2008, 03:20 PM
Anyone managed to get this working for 3.7?
I'm also waiting for an update to vb3.7...
stonner
05-13-2008, 06:31 PM
I dont know why, but after re-installing it's working again with vb 3.7.0
Mecho
05-16-2008, 12:39 PM
it just works fine in 3.7 :)
Thanks
SEOvB
06-07-2008, 12:54 AM
Works good in 3.7!
UltraFanatics
06-10-2008, 10:32 AM
Hi mate,
I see people have got this working now, I tried again but it wasn't working could it be due to the fact I have this mod running? https://vborg.vbsupport.ru/showthread.php?t=131985
Dismounted
06-11-2008, 06:57 AM
It may be possible - try disabling that modification.
freebiesrfun
06-11-2008, 06:03 PM
This doesn't work for me on 3.7. I thought I had the other limited viewing mod installed, but I just checked, and I never installed it.
Dismounted
06-12-2008, 06:17 AM
Try re-installing the modification - as that has worked for others.
UltraFanatics
06-13-2008, 08:09 AM
It may be possible - try disabling that modification.
Still doesn't work mate, such a bugger as this was the best mod I had ever installed :(
karnevil
06-19-2008, 05:06 PM
Re-installed and still didnt work.
Removed Limited Guest Viewing hack and it worked a treat.
Running on 3.7
Thanks guys
mikkitine
07-06-2008, 12:55 AM
Want Limited Guest Viewer and this to work? Install and set this up first before doing the same for Limited Guest Viewer and you will have them working side-by-side without a problem.
Dismounted
07-08-2008, 02:47 PM
Modification Updated!
Changes From Version 1.4 To 1.5
- Fully Phrased
- Added Independant Templates
- Fixed Print Thread Bug
- Near Full Rewrite
- First 3.7 Release
Dismounted
07-09-2008, 06:17 AM
Modification Updated!
Changes From Version 1.5 To 1.6
- Enabled By Default On New Install (Archive Disabled By Default)
- Added Archive Hiding
- Fixed Possible Compatibility Issues
Dismounted
01-25-2009, 12:06 PM
You can change it up all you want as long as you do not distribute it to anyone else.
karnevil
11-07-2014, 09:11 PM
Any plans to make this compatible with 4.2.1 at all? This is a great mod for increasing membership numbers.:up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.