I guess it wasn't cookies then - it was just a thought.
|
Thanks for the try:
As Lynne suggested, I tried adding: Code:
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> Code:
<input type="hidden" name="securitytoken" value="guest" /> Code:
<script type="text/javascript"> |
If it isn't recognizing you, then the global.php file isn't getting called/included correctly.
|
Yes, I agree that I am having trouble getting global.php called correctly through this rendering system.
I have tried adding Code:
chdir ('/home/touring7/public_html/'); to /kb/knowledgebase.php and directly to the template in my style called KBPublisher (if you are following my earlier post) and I have had no luck. If I just load knowledgebase.php at the browser, I am logged in fine. As you recall from earlier post, kb/index.php calls /kb/knowledgebase.php as a kb template which then calls the vB template KBPublisher. Everything displays as expected but I am not logged in. I even tried defining a tag called {global_load} to try and insert an additional call to global.php by inserting the php code to no avail. Two ideas: (1) Do I need to 'register' a page such as /kb/index.php? (2) Perhaps I could call global.php at /kb/index.php to define security tokens and etc and then pass that code via a tag to the vbulletin template via the /kb/index.php rendering system. Suggestions for what form that code should take? Please help me get the global.php called and working correctly. --------------- Added [DATE]1323374293[/DATE] at [TIME]1323374293[/TIME] --------------- I am continuing to experiment and I might be close, if I can get some help: In the /kb/input.php I place the following code: Code:
$curdir = getcwd (); Can someone suggest a way I can get that rendered page to accept the security token so it will see me as logged in? Thanks. |
PHP Code:
Unable to add cookies, header already sent. File: premade.php Line: 1 :confused: |
Quote:
|
This is Great man Thanks for the Lynne :D i will try this out,
|
Excellent..Works great.
|
I am having a small problem and want to see if anyone can assist me.
I am trying to create a list with HTML and it isn't recognizing it, any ideas? Here is a sample of what I am putting in: <ul> <li> item name </li> <li> item name </li> </ul> I used the same code in making a new faq item and it worked fine, but not working in this form. Link to faq item: http://www.theoutdoorstrader.com/faq.php?faq=supporter Link to new form: http://www.theoutdoorstrader.com/supporter.php |
You need to make the css for ul and li ;)
|
All times are GMT. The time now is 09:41 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|