vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can I add a "Link" to the bottom of all Threads? (https://vborg.vbsupport.ru/showthread.php?t=244846)

vilhiem 06-18-2010 04:05 PM

How can I add a "Link" to the bottom of all Threads?
 
Here's what I want to do ... is add an "Ad" link to the bottom of all new threads created.

Thing is ... I want this link to actually be part of the post itself (not just a reference footer).
In other words, I want this to show up in the database table, "Posts" in the field, "PageText".

So, I'm thinking this is something to add to the make new record query ... but got no clue as to where, or how, to do it.

Thanks Much !!!!

vilhiem 06-20-2010 04:15 AM

Any ideas here ...?

Lynne 06-20-2010 02:23 PM

I've answered this recently - was it in reply to another of your threads?

You'll have to look at the datamanagers where the post gets into into the database (look in class_dm_threadpost.php) and see about a hook location around there that you can append your ad to before it gets saved.


All times are GMT. The time now is 09:23 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.00989 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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