![]() |
I uninstalled vbindex today and now I get this error when making new posts. Would it be related? please help!
Database error in vBulletin 2.2.6: Invalid SQL: UPDATE thread SET tpostid='24040' WHERE threadid='1097' mysql error: Unknown column 'tpostid' in 'field list' mysql error number: 1054 Date: Saturday 04th of January 2003 01:30:26 AM Script: http://www.limpkinw.com/forums/forums/newthread.php Referer: http://www.limpkinw.com/forums/newth...read&forumid=1 |
Hi is it possible to include these variables in the index?
i tried just inserting them as i have here but nothing is displayed apart from the time variable. thnx for any help :D $numbermembers $newusername $totalthreads $totalposts $timenow (this one is working) |
Quote:
|
Quote:
|
I cannot get the text of the news post to display... i tried updating the counters but it did not work..
|
PHP Code:
|
Quote:
|
hey ntldr... me again.
:nervous: listen, new quirk. as you no doubt remember, you've helped me change the news bit quite a bit for my pages, so i'm going to quote all of it (cause it's nowhere near the default anymore). the problem is that if anyone other than me posts and uses bbcode (like color), it doesn't display the color (just the text bbcode... like [ color=blue ]this[ /color ] ... without the obvious spaces). part of this is no doubt cause we set it up so i could post html without anyone else having that ability, but in so doing, they can't post bbcode now. i think it's the 'else' tag, but i don't know what it should be. any help, as always, is greatly appreciated. PHP Code:
|
Thanks to your assistance, I have created a custom template that I call into your home template. Works great! :classic:
After reviewing my custom layout of the vbindex.php page, I decided that the new template really belongs in the left column (and therefore in your left template), but when I call it into that template, nothing from it displays. I have a feeling that it has something to do with the order of the templates, but I am outta my depth here still. Any suggestions? |
Quote:
|
Quote:
|
Sorry,
Can you translate this hint for the code challenged? Assuming it isn't "done" before left is called, how do I fix it? PS. Life is good when U R online... |
Move it above:
PHP Code:
|
Dude-who-looks-like-a-lady,
You rock. Simple edit. Everything works perfectly. Thanks! |
yep... vbcode is enabled, ntldr.
any thoughts? |
I've just tested it and it works fine for me, is the content of the post correct, ie when editing the post the code is [color=blue ]Text[ /color] (without the spaces)?
|
yep.
would it matter that the forum in question has a moderation queue? i have to approve it in the admin cp before it goes out. i'll test it without the mod queue and see. edit** mod queue removed, and it still did the same thing. |
How do I modify the post query so that posts in Private forums (and any other forums the user can't see) will not show up?
Thanks. God I love this hack. |
Quote:
I tried to apply your advice from a response a few pages ago regarding the news query, by it didn't seem to help: $threadsquery=$DB_site->query("SELECT * FROM thread WHERE thread.open<>10 ".$threadsql." AND thread.visible=1 AND forumid!=$newsforum AND forumid!=$pollsforum AND visible=1 ORDER BY lastpost DESC LIMIT $maxvbithreads"); My guess is tha thread.visible=1 and visible=1 are the redundant, but I am not a very good guesser. |
Yes, you can remove visible=1 ;)
|
Hi I`m getting this error
PHP Code:
I?m running vbindex on my test board and i made a clean install ( no other hacks ) of vb when I got this error :( I got the vbindex.php in the same dir as index.php so I skipped step 4 and 11 ( i looked to page 30 before I posted this question ) |
I would like to use the usercp_forums template on the vBindex.php layout. I tried just adding it to the declarations:
Quote:
Then added the evaluate lines: Quote:
Quote:
But this wasn't enough. I get the usercp_forums layout, but no usercp_forumbit (s). I assume that I have some pathing issues with the "external-to-vBindex" template, but that may not be all. Hints? :cheeky: |
You'll need to copy the code from usercp.php that creates the content that usercp_forumbit displays, plus you would need to eval usercp_forumbit too.
|
Quote:
My new evals are: Quote:
|
Put it near the top, again around //posts info, thats the safe place to put added code ;)
|
Your are a beautiful man with trashy avatar.
Thanks once again! :rambo: |
NTLDR , any ideas about : Warning:_date()_[function.date]:_Unexpected_error_in_D:cancanforumadminfunctions. php_on_line_1599 ?
http://217.215.68.215/cancan/forum/vbindex.php |
Whats on and arround your line 1599 in admin/functions.php ?
|
PHP Code:
vbindex is installed on a clean board ... no other hacks and shoutbox is turned off in acp |
I don't see why thats not working, it works fine with that code for me. Try replacing (in vbindex.php) vbdate( with either date( or gmdate( and see if that removes the error.
|
Nice.... it worked..
i changed to " date " |
Quote:
PHP Code:
thanks. |
Yep, exactly the same, try using bbcodeparse2 for the other members too:
PHP Code:
|
once again, you've come through for me. thank you very much.
i had tried changing the bbcodeparse in the else tag and adding the 2, but it had given me an error, probably cause i hadn't changed the 0s and 1s like you did. thanks buddy. |
I'm getting some missing pictures on my homepage can you have a look please ?
the url of the test site is http://www.4size.co.uk pictures on the forum are fine pictures on the home page of vbindex aren't :( |
Hi again...
how can you get Private messages to show right under your buddy list ? ( or under the poll ) I tryed to put pminfo under buddy but it didn?t work ( in home_left template ) also missing a href in head_newpm ( my vbindex is not in the same dir as my forum ) PHP Code:
|
Quote:
http://xxx.xxx.xxx.xxx/cancan/forum/images http://xxx.xxx.xxx.xxx/cancan/forum/images/test.gif and so on........ |
That's because your images folder is within your forums folder (where it should be). In the admin CP go to styles - modify - fonts/colors/etc. Make sure the "image folder path" points to "/forum/images" and that should fix your problems.
If not you might try changing the image locations (in the templates or via replacements) to "$bburl/images/picture.jpg" etc. But make sure your $bburl points to the forums (Admin CP > vBulletin Options > General Settings > URL). Good luck! |
Ok, I dont know if this was covered earlier or not, too many pages :). But I am building a gaming site and im using vbindex to do it. Is it possible to run mulitple copies of vbindex but use the same forum? Lets say i am gonna cover 4 games, I want one main index then an index for each game and seperate news for each game, but they all use the same forum. Is this possible? If so, how?
|
Nm, i figured out how to do it. Thnx anyways...:)
|
All times are GMT. The time now is 10:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|