Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2003, 12:48 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 01-18-2003, 01:05 PM
Cypher720's Avatar
Cypher720 Cypher720 is offline
 
Join Date: Aug 2002
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Am I going to have to make a php file?
i believe so
Reply With Quote
  #3  
Old 01-18-2003, 01:12 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

That means im a hacker *hides her face*
Reply With Quote
  #4  
Old 01-18-2003, 01:31 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]");

Reply With Quote
  #5  
Old 01-18-2003, 01:47 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Attached Images
File Type: jpg skills.jpg (29.7 KB, 0 views)
Reply With Quote
  #6  
Old 01-18-2003, 01:47 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait, what? What exactly are you trying to do?
Reply With Quote
  #7  
Old 01-18-2003, 01:49 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 01-18-2003, 01:50 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just want to talk on AIM Filburt since we are both on?
Reply With Quote
  #9  
Old 01-18-2003, 02:17 PM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is "variable name with no leading dollar sign"
Reply With Quote
  #10  
Old 01-19-2003, 01:03 AM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:57 PM.


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.04764 seconds
  • Memory Usage 2,270KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete