Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Edit History (PEH) Alternate Postbit Layout Details »»
Post Edit History (PEH) Alternate Postbit Layout
Version: 1.00, by MThornback MThornback is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.6.7 Rating:
Released: 01-15-2007 Last Update: Never Installs: 15
Template Edits
 
No support by the author.

This is simply an alternative to Survivors layout for adding the PEH display within the postbit template....anyone whos seen my few additions here knows I don't do much fancy mostly just what I find useful and think others might too....

What this does:
If no edit exists for the post, it will hide the link, and when an edit is made the link will show up...simple yes?

Instructions(from PEH):

In postbit Find:
Code:
$post[posts]
or

In postbit_legacy find:
Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>

Add Underneath:

Code:
<if condition="$post[editcount]==0">
&nbsp;
<else />
<if condition="$show['edithistorylink'] AND $post[editcount] > '0'">
<a href="edithistory.php?do=viewedithistory&postid=$post[postid]"><phrase 1=$post[editcount]>$vbphrase[saved_edits]</phrase></a>
</if>
</if>

If you use it please click install...it shouldn't need much support...but I'll answer questions as they pop up.....screenshots shouldn't be necessary if its working you'll see the link only on edited posts

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-16-2007, 05:36 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, thanks
Reply With Quote
  #3  
Old 01-16-2007, 07:14 PM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Can you attach a Screenshot ?
Reply With Quote
  #4  
Old 01-16-2007, 07:45 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you read it?

screenshots shouldn't be necessary if its working you'll see the link only on edited posts


All it does is remove the link if the message hasnt been edited... so you want to show a screenshot of a non existant link
Reply With Quote
  #5  
Old 01-25-2007, 10:21 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you MThornback

Install
Reply With Quote
  #6  
Old 05-20-2007, 04:30 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on v3.6.7 PL1 then un-installed as it didn't work.

Edit function never appeared anywhere....

Ensured it was turned ON and all files were in correct places, but no go...

Regards,
Badger
Reply With Quote
  #7  
Old 05-21-2007, 06:45 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 3.6.7 PL1 aswell and I have no issues...did you upgrade from 3.6.5 to the latest release and revert your templates? since the patch has no template edits (along with 3.6.7) I can only assume you should double check the template code for missing information.

Please let me know if it works...if not...I'm willing to fix it for you if you send me the details I need to do so.
Reply With Quote
  #8  
Old 05-21-2007, 09:46 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded from 3.64 direct to 3.67PL1 without problems....

Installed (uploaded) files as specified and imported XML file, then ensured mod was turned ON under AdminCP "Messages" area.

Did template mods. When the "Edit" button never appeared, I re-checked everything, including trying modding each template "Postbit" and "postbit_legacy" indvidually (mutually exclusive), then both at the same time. Still nothing appears.

Thanks for your offer to help, but I don't know what else I can give you? :up:

I could send you a copy of the edited template (which one?) for you check? Other than that, it's just putting his files into the directories he specified. There's noting else is there?

Regards,
Badger
Reply With Quote
  #9  
Old 05-21-2007, 07:59 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you send me a copy of your postbit that'd be all I need as long as the mod is enabled and the settings are all done right and what not....

Forgive the dumb question...but you did edit a post right? Cause this mod only shows you the edited versions link if there IS an edit.....
Reply With Quote
  #10  
Old 05-21-2007, 08:36 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MThornback View Post
If you send me a copy of your postbit that'd be all I need as long as the mod is enabled and the settings are all done right and what not....


Forgive the dumb question...but you did edit a post right? Cause this mod only shows you the edited versions link if there IS an edit.....

Yup ...

I even created several test posts, edited them etc, as I thought it just might need to be created first..

I'll send you off a copy of "postbit"....

Did you want me to put the edits back in ( I emoved them when I uninstalled), or just send you "postbit" before I edited for this mod?

Thanks for your help... :up:

Regards,
Badger
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08180 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete