vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - [LMKWD] Create Your Own Custom Advertising Page (https://vborg.vbsupport.ru/showthread.php?t=315788)

joeychgo 12-25-2014 11:53 AM

Gotcha. That's what I thought.

I'm curious, do you have any example advertising pages we could see?

HM666 12-25-2014 01:09 PM

Quote:

Originally Posted by joeychgo (Post 2528767)
Gotcha. That's what I thought.

I'm curious, do you have any example advertising pages we could see?

Just the demo link that is in the first post. You should be able to see it. If not let me know. I have not created an advertising page that is live and used for this template if that is what you are asking. But the template makes it where you can pretty much style it how you want using html & css.

helenblog 06-22-2015 07:05 AM

I am having a vB forum 4.2.x and I find this useful for my site, will try as soon as possible.

How can I create more pages with this?

HM666 06-22-2015 10:41 PM

Quote:

Originally Posted by helenblog (Post 2548349)
I am having a vB forum 4.2.x and I find this useful for my site, will try as soon as possible.

How can I create more pages with this?

Same was as described above just for each page you need to change the file name that you upload, the template name & the PHP file to match for the new page.

Parts you would need to change in the PHP file are:

Code:

define('THIS_SCRIPT', 'custom_yourfilename');
Code:

define('VB_ENTRY', 'yourfilename.php');
Code:

$globaltemplates = array('custom_yourfilename',
);

Code:

$templater = vB_Template::create('custom_yourfilename');
Replace yourfilename with the name of the new file you are creating. Make sure you replace all those instances with it and that you use the smae name in each place.

blind-eddie 04-01-2017 05:09 PM

Demo link goes to a virus alert page


All times are GMT. The time now is 04:43 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.01630 seconds
  • Memory Usage 1,733KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete