vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding footer text line to all messages (https://vborg.vbsupport.ru/showthread.php?t=194732)

amphicar770 10-27-2008 07:22 PM

Adding footer text line to all messages
 
Hello,

How would I add a line of text with hyperlink to the bottom of every message posted.

For example:
"Visit mysite.com today."

Thanks.

Lynne 10-27-2008 07:30 PM

On the bottom of every post or the bottom of every page? If on the bottom of the post, you would add it in the postbit(_legacy) template. If on the bottom of every page, then in the footer template.

amphicar770 10-27-2008 07:43 PM

On the bottom of every message.

Where in postbit(_legacy) would I place this and what would the code look like?

Thanks.

Sp32 10-27-2008 08:10 PM

<a href ="www.yoursitehere.com">

go to styles manager select the site go to footer and put it there

if thats not what you want I advise you get a mod like 'vb admanagement' or something like that

it posts whatever you want after every message automatically or after how many messages you want it to post after, or just post after the first or post it as the last message

(I dont advise vb admanagement) but ya know what I mean)

amphicar770 10-27-2008 08:20 PM

Quote:

Originally Posted by Sp32 (Post 1654054)
go to styles manager select the site go to footer and put it there

That would put it on the page but I want to append to each message at the bottom of the message itself.

I did consider an ad manager but thought that there must be a simpler way since it will be same line of text every time.

Thanks.

Lynne 10-27-2008 09:13 PM

Quote:

Originally Posted by amphicar770 (Post 1654033)
On the bottom of every message.

Where in postbit(_legacy) would I place this and what would the code look like?

Thanks.

That doesn't really say much. Like under their message but above the sig? Under the sig? Maybe an image with the area circled would help.

amphicar770 10-27-2008 10:52 PM

Lynn,

A good example would be your signature block (above) where you have a solid line and below that some text with a link. Pretty much exactly what I would like to add to the bottom of every posted message.

Thanks again.

Lynne 10-28-2008 02:44 AM

OK, this is adding a link right below the message in postbit_legacy - the stuff in red is two breaks and a link:

Code:

        <!-- message -->
        <div id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
<br /> <br /><a href ="http://www.mysite.com/">Visit mysite.com today.</a>
        </div>
        <!-- / message -->


amphicar770 10-28-2008 03:44 AM

Lynne,

THANK YOU. Perfect, just what I was looking for.

Mike


All times are GMT. The time now is 01:29 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.01067 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete