vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Hrmm never thought of this..... (https://vborg.vbsupport.ru/showthread.php?t=86027)

Sanctum 01-18-2003 12:48 PM

Hrmm never thought of this.....
 
Ok so Im lookin at the templates thinking woot im gonna make my own and everything then it hit me...

If I make template "A" lets call it. How the hell do I link to it If I dont want to include it on a current php file?

Am I going to have to make a php file?

Cypher720 01-18-2003 01:05 PM

Quote:

Am I going to have to make a php file?
i believe so

Sanctum 01-18-2003 01:12 PM

dang it I though so. I never tried to but dangit oh well :(

That means im a hacker *hides her face*

filburt1 01-18-2003 01:31 PM

No, you can use phpinclude. Install PAPI (see my sig) and then add this to phpinclude:
PHP Code:

if (thisis("[i]filename that will use the template[/i]"))
{
    eval(
makeevaltemplatecode("[i]variable name with no leading dollar sign[/i]",
        
"[i]template name[/i]");



Sanctum 01-18-2003 01:47 PM

1 Attachment(s)
Ok just wanted to make sure this is what i wanted to do its simple enough I think, just need to make a php file :)

OR is there a way to do this in the user groups area?

Check the site and click on roster and see how its mod'ed to show levels and names http://www.eqsanctum.com/oov


How about simply adding the contents ( image ) to the bottom of the roster?

filburt1 01-18-2003 01:47 PM

Wait, what? What exactly are you trying to do?

Sanctum 01-18-2003 01:49 PM

Ok look at the postbit mod I made right? There is a list of skills in the game. Took a layout from a cgi program at http://www.guildtools.net its called EQdbman. The layout is a good idea. So ill just add a few moreprofile fields in the usercp area and then have them show up on a "skills" section. Thats what im trying to do

Sanctum 01-18-2003 01:50 PM

You just want to talk on AIM Filburt since we are both on?

Sanctum 01-18-2003 02:17 PM

what is "variable name with no leading dollar sign"

Sanctum 01-19-2003 01:03 AM

Ok filburt PLEASE answer you have me doing circles now.

Code:

if (thisis("filename that will use the template"))
{
eval(makeevaltemplatecode("variable name with no leading dollar sign",
"template name");
}
=====================================
Ok one thing ata time im not a big code expert so bear with me.

("filename that will use the template")) = The new php file say
 "skills" that im gonna make?


("variable name with no leading dollar sign",

????? I have no idea what you mean


"template name"); = The new template I will
have to make to be used in the new php file?



All times are GMT. The time now is 12:04 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.01068 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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
  • (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