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
Return to Top in postbit ( & legacy) Details »»
Return to Top in postbit ( & legacy)
Version: 1.28c, by thpoul thpoul is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 02-11-2007 Last Update: 02-11-2007 Installs: 26
Template Edits
Additional Files  
No support by the author.

This little mod will allow you to add a button besides Edit at every single post you make.

This way you won't have to scroll every time you read a thread.

Dedicated to the lazy fellows around the community.


How to install:


In postbit template find:

Code:
<!-- 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]">
Below add:

Code:
<!-- goup -->
<a href="#"><img src="/images/buttons/goup.gif" border="0"/></a><!-- / goup -->

In postbit legacy find:

Code:
<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>
Below add:

Code:
<!-- goup -->
<a href="#"><img src="/images/buttons/goup.gif" border="0"/></a><!-- / goup -->


Bellow you can find a sceenshot and the image you will need to paste at your "forum/images/buttons/" folder!



If you use this mod please click INSTALL

Show Your Support

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

Comments
  #2  
Old 02-12-2007, 08:40 PM
thpoul thpoul is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

***reserved***
Reply With Quote
  #3  
Old 02-12-2007, 08:51 PM
lexx27's Avatar
lexx27 lexx27 is offline
 
Join Date: May 2005
Location: Athens
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!
Reply With Quote
  #4  
Old 02-14-2007, 03:15 AM
tank14 tank14 is offline
 
Join Date: Oct 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you mean to check the "Not Supported" Thingy?
Reply With Quote
  #5  
Old 02-21-2007, 11:19 AM
thpoul thpoul is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol....thanks fixed
Reply With Quote
  #6  
Old 02-28-2007, 12:55 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Such a simple little mod which I hadn't thought of, but which I know my lazy users will love...

Anything that saves their delicate little fingers from having to move on the scroll button of their mouse, hehe.

Nice one. :up:

[high]* Detomah happily installs.[/high]
Reply With Quote
  #7  
Old 11-03-2007, 12:31 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good hack, thanks for it
Reply With Quote
  #8  
Old 02-20-2008, 06:22 AM
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

image wont show any ideas
Reply With Quote
  #9  
Old 02-20-2008, 04:08 PM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dingo14 View Post
image wont show any ideas
If you have a custom skin, you'll have to put the image in that image directory.
Reply With Quote
  #10  
Old 02-21-2008, 09:33 PM
ams3521 ams3521 is offline
 
Join Date: May 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant get this working for me although i should have done it right. Ive a custom skin and my forum images are in skin_images instead of images. Ive added the code to the Postbit temple like so-

PHP Code:
        <div style="margin-top: 10px" align="$stylevar[right]">
<!-- 
goup -->
<
a href="#"><img src="/skin_images/buttons/goup.gif" border="0"/></a><!-- / goup -->
            <!-- 
controls --> 
and in Postbit legacy template like so-

PHP Code:
    <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>
    <!-- 
goup -->
<
a href="#"><img src="/skin_images/buttons/goup.gif" border="0"/></a><!-- / goup -->
        <if 
condition="$show['messageicon'] OR $post['title']">
            <!-- 
icon and title --> 
Am i doing something wrong?

It will be a great hack when i get it in. Just what ive been after. Thanks
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 05:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05240 seconds
  • Memory Usage 2,315KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_php
  • (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
  • (1)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