Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: inthezone
Forum: vB3 General Discussions 04-20-2008, 11:02 PM
Replies: 8
Views: 1,045
Posted By inthezone
Thanks! A new challenge, though... I'm now...

Thanks! A new challenge, though...

I'm now trying to fetch $myheader through a parse_templates plugin, so I no longer have to include that line in my function:

// Code in vB's plugin system...
Forum: vB3 General Discussions 04-20-2008, 05:46 AM
Replies: 8
Views: 1,045
Posted By inthezone
Turns out that 'myheader' worked in the function....

Turns out that 'myheader' worked in the function. The problem was that 'myheader' contains references to vB's default header template (as '$header'), and that wasn't working within the function. To...
Forum: vB3 General Discussions 04-19-2008, 05:23 AM
Replies: 8
Views: 1,045
Posted By inthezone
Interesting, but it doesn't seem to work. ...

Interesting, but it doesn't seem to work.

Something else of note: if I take the code out of the function and call it inline, the custom template works fine. Maybe that helps...
Forum: vB3 General Discussions 04-19-2008, 04:38 AM
Replies: 8
Views: 1,045
Posted By inthezone
Fetching a custom template within a function

function displayHeader()
{
eval('$myheader = "' . fetch_template('myheader') . '";');
echo $myheader;
}
displayHeader();

I have a custom template named 'myheader'....
Forum: vB3 General Discussions 04-17-2008, 12:34 PM
Replies: 3
Views: 1,014
Posted By inthezone
It looks like that will let me include an entire...

It looks like that will let me include an entire file, but I don't see how it lets me include a single variable.

Another issue is that the $headline variable can change multiple times within the...
Forum: vB3 General Discussions 04-17-2008, 03:47 AM
Replies: 3
Views: 1,014
Posted By inthezone
Passing variables to vBulletin on non-vB pages

Is it possible to set a variable on a non-vB page, then pass it to vB so it can be used in a template? e.g.

$headline = "Welcome to our site!"
eval('$vbheader = "' . fetch_template('header') ....
Forum: vBulletin 3.7 Add-ons 08-26-2007, 07:49 PM
Replies: 1,989
Major Additions - PhotoPlog: The Lite Gallery
Views: 639,074
Posted By inthezone
I've been running PhotoPlog Lite for over a year,...

I've been running PhotoPlog Lite for over a year, and all of the sudden, most of my images aren't displaying. The images that file.php?n=X can't access are still on the server, though. Any ideas?
Forum: vB3 General Discussions 05-05-2006, 10:18 PM
Replies: 0
Views: 803
Posted By inthezone
vB3's sessionhash variable

I'm upgrading my vB2 to vB3, and am changing around the site that the board is integrated with.

I've updated most of it to adhere to vB3's new variable names, but can't seem to find the new one...
Forum: vB3 General Discussions 09-05-2003, 12:40 AM
Replies: 1
Views: 920
Posted By inthezone
Calling templates on non-vB pages

I've tried using this code to call a vBulletin template in a non-vB page located one level above my forum directory:


<?php

chdir('./forum/');
require('global.php');
...
Forum: vB3 General Discussions 09-05-2003, 12:33 AM
Replies: 3
Views: 1,015
Posted By inthezone
Okay... :squareeyed: I guess they are all...

Okay... :squareeyed:

I guess they are all stored within their respective templates, rather than in some global array or something of that sort.
Forum: vB3 General Discussions 09-04-2003, 09:14 PM
Replies: 3
Views: 1,015
Posted By inthezone
Origin of the breadcrumbs

Where are the breadcrumbs for vBulletin located? (not meaning the template for the breadcrumb navbar itself, but rather where the board derives the titles of the breadcrumb links from)
Forum: vB3 General Discussions 07-24-2003, 04:27 PM
Replies: 6
Views: 2,172
Posted By inthezone
I'm using HTML/PHP rather than the vB templates...

I'm using HTML/PHP rather than the vB templates for the page. The site is separate from the forum content-wise (aside from displaying recent threads), but is integrated with the vB user database via...
Forum: vB3 General Discussions 07-24-2003, 04:09 PM
Replies: 6
Views: 2,172
Posted By inthezone
I am using global.php on this page for user...

I am using global.php on this page for user identification purposes, but the above code doesn't print out the dates. Does the page automatically recognize vbdate() when you require global.php?
Forum: vB3 General Discussions 07-24-2003, 03:55 PM
Replies: 6
Views: 2,172
Posted By inthezone
I've done this: $query =...

I've done this:


$query = @mysql_query("SELECT * FROM thread");
while ($row= mysql_fetch_array($query))
{

$lastpost = vbdate($dateformat,$row['lastpost']);
.
.
Forum: vB3 General Discussions 07-24-2003, 03:30 AM
Replies: 6
Views: 2,172
Posted By inthezone
Using vbdate

How would I use vbdate to format the date/time of a 'lastpost' number from the DB table called 'thread'?
Forum: vBulletin 2.x Full Releases 06-19-2003, 03:14 AM
Replies: 31
Views: 11,919
Posted By inthezone
Does anyone know of a way to get a remote login...

Does anyone know of a way to get a remote login in vB3 without having to modify any of the vBulletin source code?

Note: I am using global.php to integrate my forum login onto other pages (in case...
Forum: vB3 General Discussions 06-13-2003, 11:56 PM
Replies: 2
Views: 858
Posted By inthezone
That was much simpler than I thought it would be....

That was much simpler than I thought it would be. Thanks for your help!
Forum: vB3 General Discussions 06-13-2003, 11:22 PM
Replies: 2
Views: 858
Posted By inthezone
Integration: Displaying records belonging to the logged-in user

I'm trying to integrate vBulletin with another part of my website via global.php, and have created additional tables related to my non-vB pages in the vB database.

e.g.

In the vB database, I...
Forum: vB3 Programming Discussions 03-15-2003, 09:20 PM
Replies: 2
Views: 887
Posted By inthezone
Dateline and Flood Control

I am making a section on my site that uses vBulletin's global.php for login, member permissions, etc. but has users post entries into a custom table located in the vB database. I am trying to figure...
Forum: vB3 Programming Discussions 02-27-2003, 01:44 AM
Replies: 3
Views: 1,470
Posted By inthezone
PHP Redirect

I'm writing a conditional script that uses vB's global.php, and I'm attempting to redirect unregistered users to the user cp login screen. However, since I am using a header include on the page, I...
Forum: vB3 Programming Discussions 02-27-2003, 12:25 AM
Replies: 7
Views: 1,064
Posted By inthezone
Both methods work. Thanks for the help

Both methods work. Thanks for the help
Forum: vB3 Programming Discussions 02-27-2003, 12:12 AM
Replies: 7
Views: 1,064
Posted By inthezone
Multiple Parameters for Conditionals

I am writing a basic PHP conditional script that uses vBulletin's global.php to display different messages for different user levels. I want to have the same message display for those who have...
Forum: vB3 General Discussions 02-26-2003, 04:54 AM
Replies: 20
Views: 3,703
Posted By inthezone
But what about all of the URLs left on the page?...

But what about all of the URLs left on the page? For instance, http://www.mydomain.com/forums/usercp.php shows up as http://www.mydomain.com/usercp.php

Can this be circumvented without having to...
Forum: vB3 General Discussions 02-26-2003, 04:01 AM
Replies: 20
Views: 3,703
Posted By inthezone
I have test.php in a different directory than my...

I have test.php in a different directory than my forums, so when I close the board and go to test.php as a non-admin user, it gives me the "Please call back later" page but all of the URL and image...
Forum: vB3 General Discussions 02-26-2003, 03:49 AM
Replies: 20
Views: 3,703
Posted By inthezone
It worked. I had a header include for the page...

It worked. I had a header include for the page which I had above the chdir and require code, but I moved it to the top and it seems to be working. Thanks

Two more questions...

1) How do I get...
Showing results 1 to 25 of 31

 
Forum Jump

All times are GMT. The time now is 05:21 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.02772 seconds
  • Memory Usage 2,036KB
  • 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)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (15)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete