vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

just.b.jealous 12-20-2010 08:37 PM

awesome bro, I'll go check it out right now, thanks for lending me a hand.

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

Almost got it, we're most definitely closer..



It parses the post correctly but parsed the [img] into a clickable link instead of showing the picture. Any ideas? Using your suggestion results like this with or without requiring global at the top of the plugin, I also made the test.php with requiring the bbcode_parser, or the parsing line that it had previously.... I'm stumped..

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

I just noticed something else, the plugin results in 14 results instead of 7, it displays the first 7 threads from the forum and displays each of them twice.

just.b.jealous 12-22-2010 11:24 PM

I have fixed it where it shows the posts twice, but for some reason I cannot get it to parse the images from the post. Any ideas?

BirdOPrey5 12-23-2010 12:22 AM

Yeah forgot they don't parse images when using 'nonforum'- replace that with a valid forum id of one of your forums where images are allowed...

Basically try something like...

Code:

$thrds[pagetext] =  $bbcode_parser->parse($thrds[pagetext] , 2, true,);
Info on bbcode parsing: http://members.vbulletin.com/api/vBu...odeParser.html

just.b.jealous 12-23-2010 02:59 AM

Worked like a charm- I'm good to go. Thanks for helping me out soo much- I appreciate it. Happy Holidays!!

BirdOPrey5 12-23-2010 03:11 AM

Glad to help. :up: Happy Holidays.

DIBBLE 01-09-2011 02:18 PM

How do i add certain forums to the additional page? And would i be able to remove them from my index.php?

Lynne 01-09-2011 05:30 PM

Quote:

Originally Posted by DIBBLE (Post 2146454)
How do i add certain forums to the additional page? And would i be able to remove them from my index.php?

Add them in what way - a link? This is just a php page, so put in whatever php you need/want to do what you want. Or, if you just want a link, just put the link in the template.

Digital Jedi 01-10-2011 03:46 AM

Quote:

Originally Posted by DIBBLE (Post 2146454)
How do i add certain forums to the additional page? And would i be able to remove them from my index.php?

It sounds like all you want is hidden forums.

pulsionpleinair 01-25-2011 02:35 PM

Hi,

I never Create a new file and create the template. Any one cant help me to do that and include that on vbulletin?

Hummell 03-27-2011 02:22 PM

Here are the errors I'm getting on the page I created. Can someone please tell me what I've done wrong?

Quote:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4097

Parse error: syntax error, unexpected T_STRING in /home/ludawgs/public_html/tos.php(42) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: terms_of_service in [path]/includes/functions.php on line 4097


All times are GMT. The time now is 04:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02535 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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