Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 04-27-2004, 01:34 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
once you rmeove the php then the templating takes on a life of it's own
Except vB hasn't removed php from the templates - it's just created its own template language which is then preprocessed before being displayed:

<if condition="$bbuserinfo['userid']">
...
</if>

More information: http://www.vbulletin.com/docs/html/m...e_conditionals

I'm just saying different strokes. Not everyone codes their products to a "vB standard". You might prefer a template with its own syntax while others might prefer a template made of of php.
Reply With Quote
  #32  
Old 04-27-2004, 02:09 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the conditionals were put their by popular demand after having a full version of no php in statements over than variables such a $catergory etc

i understand what you're saying and completely where you're coming wrong, so don't get me wrong, i'm just saying as a customer who's had your product going on a years i'm still unable to make heads or tails of the templates

but alas, i doubt i'll change your mind
Reply With Quote
  #33  
Old 04-27-2004, 02:12 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've modified my remarks to be more explicit - vB has its own template language with is preprocessed before being displayed. Our templates are similiar, except we use native php conditionals.

It's just syntax - the results are the same.
Reply With Quote
  #34  
Old 04-27-2004, 05:42 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I fixed the problem. It had nothing to do with me or settings, it was currupt files that was doing it. Now everything working just fine.
Reply With Quote
  #35  
Old 04-27-2004, 05:58 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Glad to hear it.
Reply With Quote
  #36  
Old 04-28-2004, 12:28 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again for your help. MPDev got me sorted straight out.

(was the missing bb cookie prefix, customer number instead of license number, and my login header was mispointed.)

Works a treat now
Reply With Quote
  #37  
Old 04-29-2004, 08:06 PM
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
Location: Virginia
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome - it's usually something minor, hopefully my post will point people in the right direction.
Reply With Quote
  #38  
Old 11-19-2004, 10:16 AM
allandk allandk is offline
 
Join Date: Mar 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have a problem with logins on our site. Our site is based on vbAdvanced, Vbulletin and photopost. The problem occurs when a user

signs up to become a registered user. After finishing the signup-process, the user is automatic logon to vbulletin, but not photopost.

The user has to log off and then logon again to get access to the images in photopost. This is giving us a lot of supporttickets and a

lot of wated time.

I have been reading this thread carefull, and tried a lot of things to solve the problem, but without any luck.

I have checked that the vb licensnumber is listed correct in photopost.

The cookie settings are:

vb cookie path: "/"
vb cookie prefix: "bb"
vb cookie domain: ""

pp cookie path: "/"
pp cookie prefix: "bb"
pp cookie domain: ""

When I log in to photopost, I get a cookie named 'bbsessionhash'. If i log out and closes the browser and log in to vbulletin, I stille

get a cookie named 'bbsessionhash'. The host and path information in these cookies are the same but the sessionhash is not.

When I log in to vbulletin I get two cookies named 'bbuserid' and 'bbpassword'. I do not get these cookies when I log into photopost.

I think I got a cookieproblem, but I'm not sure, and if that is the case, I do not know how to solve it. Can anyone help?
Reply With Quote
  #39  
Old 11-19-2004, 11:41 AM
obsidian's Avatar
obsidian obsidian is offline
 
Join Date: Apr 2003
Location: Austin Tx
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the same problem for a while. Double check your licence number that you enter into photopost. Make sure you put in your licence number not your member number.
Reply With Quote
  #40  
Old 11-19-2004, 06:29 PM
allandk allandk is offline
 
Join Date: Mar 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the correct license number
Reply With Quote
Reply


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 11:46 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.05272 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
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_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
  • (3)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
  • (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