Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles

Reply
 
Thread Tools
Common Questions and Anwsers to vB3
Zachery's Avatar
Zachery
Join Date: Jul 2002
Posts: 11,440

 

Ontario, Canada
Show Printable Version Email this Page Subscription
Zachery Zachery is offline 01-14-2004, 10:00 PM

Common Questions and Anwser to vB3

Q. My logo is off center, how do i fix this?

A. Open your header template and find   and remove it.

Q. I'm trying add a second adminstrator and they dont see all the options

A. You must edit config.php and place your userid, which is 1 if you installed the board. Then you will be able to edit and change the Adminstrator Permissions

Q. How can i edit the text somewhere, such as the guest message?

A. Its most likly in the Language and Phrase manager. search for it .

Q. How do i revert all templates?

A. AdminCP > Style Manager > Drop down > Revert all Templates.

Q. How do i add a profile feild into the postbit?

A. All you need to do is note the field id and replace it for x in the example below, then place it into your Postbit or Postbit Legacy
Example: $post[fieldX]

Q. How do i configure IPN for subscriptions with paypal to work?


A. http://scott.dev.vbulletin.com/ipn_doc/

Q. How to i turn on debug mode?

A. before ?> in config.php add $debug=1;

Q. If your gettin a message like "Cannot modify header information - headers already sent "

A. there is whitespace after ?> or before <?php

Q. Where can i set Avatar / Profile Picture settings?

A. this is now done on a per usergroup baisis

Q. How can i setup how many days / posts a user must have before they can get an avatar / profile picture / Personal Messages / be able to download attachments

A. This is now accomplished by usergroup promotion and primary / secondary usergroups. AdminCP > Usergroups > Promotions

Q. How Can i change my postbit to look like it used to / on this site (vb.org)

A. ACP > vBulletin Options > Thread Display Options (showthread) > Use Legacy (Vertical) Postbit Template > YES


i will continue to update this as nessary
Reply With Quote
  #2  
Old 01-15-2004, 02:08 AM
TheAnt TheAnt is offline
 
Join Date: Sep 2003
Location: Iceland
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Q. What is the PHP Code I need to be able to display my custom templates

A. You must add
PHP Code:
eval('$template_name = "' fetch_template('template_name') . '";'); 
Into PHPINCLUDESTART template or whatever PHP file you need, (ex: index.php for displaying it on FORUMHOME, global for displaying it on all pages)
Reply With Quote
  #3  
Old 01-15-2004, 02:09 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheAnt
Q. What is the PHP Code I need to be able to display my custom templates

A. You must add
PHP Code:
eval('$template_name = "' fetch_template('template_name') . '";'); 
Into PHPINCLUDESTART template or whatever PHP file you need, (ex: index.php for displaying it on FORUMHOME, global for displaying it on all pages)
already covered in my Basics of vB3
Reply With Quote
  #4  
Old 01-15-2004, 04:29 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice tips there Faranth How about adding the one in there i asked you about making links.
Reply With Quote
  #5  
Old 01-15-2004, 04:31 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

templates my boy templates i do have a few more tutorials to write, one is about adding links, and of course my conditions tutorial
Reply With Quote
  #6  
Old 01-15-2004, 07:16 AM
bob46802 bob46802 is offline
 
Join Date: Dec 2003
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Faranth
Common Questions and Anwser to vB3

Q. My logo is off center, how do i fix this?

A. Open your header template and find &nbsp; and remove it.
hrm
nevermind found it
Reply With Quote
  #7  
Old 01-15-2004, 03:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i guess ill add one more

remove the the whole second <td > from the code
Reply With Quote
  #8  
Old 01-15-2004, 04:22 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the FAQ should be upgraded with new questions/answers such as these ...
the way I see it if you make it available people will use it.

Plus, I think the faq interface is friendlier than the boards (easier to find things).
Reply With Quote
  #9  
Old 01-15-2004, 04:25 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i was just tired of anwsering the same questions to every use every other day so i just made this
Reply With Quote
  #10  
Old 02-05-2004, 11:36 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone tell me how i can set up an if statement to detect if the user is an admin. plz.........
Reply With Quote
Reply

Thread Tools

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 06:24 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.04330 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)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
  • (9)postbit
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete