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
  #12  
Old 02-22-2008, 04:36 AM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Red">thanks dude! it´s very useful for pleople like me and my community xD</font>
Reply With Quote
  #13  
Old 02-23-2008, 02:46 AM
Magnusson2u Magnusson2u is offline
 
Join Date: Dec 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, and smart!

I did have to make 1 alteration to have it work in my postbit. Remove forward slash in front of the word "images" (in red below).
Code:
<!-- goup -->
<a href="#"><img src="/images/buttons/goup.gif" border="0"/></a><!-- / goup -->
------------------------------------------------------------------

Quote:
Originally Posted by ams3521 View Post
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. Am i doing something wrong?
Try removing the forward slashes in red below:
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

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 -->
Reply With Quote
  #14  
Old 03-07-2008, 08:13 PM
msolano msolano is offline
 
Join Date: Oct 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello: i think we can't depend of that kind of 'hard code'.

This code do the job:

<!-- goup -->
<a href="#"><img src="$stylevar[imgdir_button]/goup.gif" border="0"/></a>
<!-- / goup -->

1) Skin independent
2) Language independent (for those of us that have the 'buttons in another language' mod)

ok
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 01:56 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.03562 seconds
  • Memory Usage 2,237KB
  • Queries Executed 18 (?)
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
  • (7)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
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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