Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 05-26-2020, 05:58 PM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Add text under the reply to a post box

I want to place some text under the box that members use to type in their reply to a post. I want this to be global as in the text will show no matter what editor they pick to use. Can anyone help me with the template edit? See the screen shot and thanks in advance.

I am using vBulletin 4.2.0 Patch Level 3


https://prntscr.com/soblxj
Reply With Quote
  #2  
Old 05-27-2020, 09:02 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill start you off with SHOWTHREAD template, you can edit it & search/find

Code:
<vb:if condition="$show['next_prev_links']">
Once you find it, go to the end of the previous/next code there, then add your desired code.

When a user clicks go advanced, that is another template & you will need to edit another template to add code on that page.
Reply With Quote
  #3  
Old 05-27-2020, 10:41 AM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help. I appreciate this so much!!

I did the SHOWTHREAD edit. I put my code just before the
Code:
<vb:if condition="$show['next_prev_links']">
I did some testing on my own and I have the code more where I want it. I moved it up in the template


my code and where I have placed it

Code:
<vb:if condition="$show['signaturecheckbox']">
		<div class="showsignature">
			<ul class="checkradio">
				<li><label for="cb_signature">
					<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
					{vb:rawphrase show_your_signature}
				</label></li>
			</ul>
		</div>
		</vb:if><body>
<p class="p1" style="text-align: center;"><span style="color:#FF0000;"><strong><span class="s1">TEST CODE PLACEMENT 1</span></strong></span></p>

<p class="p2"></p>
</body>
</html>
		<vb:if condition="$show['openclose']">
		<div class="openclose">
			<ul class="checkradio">
				<li><label for="cb_openclose">
					<input type="checkbox" name="openclose" id="cb_openclose" value="1" tabindex="1" />
					<vb:if condition="$show['closethread']">{vb:rawphrase close_this_thread}<vb:else />{vb:rawphrase reopen_this_thread}</vb:if>
				</label></li>
			</ul>
		</div>
		</vb:if>
	</div>

	<div class="blockfoot actionbuttons">
https://prnt.sc/sor6vt

The screen shot shows what I have done.
TEST CODE PLACEMENT 1 is where I have showed you where I moved it up in the template. text is in RED
TEST CODE PLACEMENT 2 was put just above the
Code:
<vb:if condition="$show['next_prev_links']">
where you said to put it.

Either way seems to be working fine with out anything breaking or any errors.

Anything wrong with what I have done?

Again I really appreciate your help!!

--------------- Added [DATE]1590583523[/DATE] at [TIME]1590583523[/TIME] ---------------

I removed this line of code. I think it was useless since nothing in between them

Code:
<p class="p2"></p>
Reply With Quote
  #4  
Old 05-27-2020, 12:04 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as youre happy with its placement, thats all that matters.
Reply With Quote
  #5  
Old 05-27-2020, 12:07 PM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
As long as youre happy with its placement, thats all that matters.
I am, what is the template that needs edited when a user clicks on go advanced?

--------------- Added [DATE]1590588498[/DATE] at [TIME]1590588498[/TIME] ---------------

If you have cash app or paypal PM it to me and ill give ya something for this help.
Reply With Quote
  #6  
Old 05-27-2020, 10:54 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Youll need to do newreply & newthread
Reply With Quote
  #7  
Old 05-28-2020, 07:08 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this product be

https://vborg.vbsupport.ru/showthread.php?t=245240
Reply With Quote
  #8  
Old 05-28-2020, 12:11 PM
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Location: USA
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Youll need to do newreply & newthread

Thanks :up::up:

Quote:
Originally Posted by yilmaz View Post
Thanks, I will check into this :up:
Reply With Quote
Reply

Thread Tools
Display Modes

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:28 PM.


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.03920 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete