![]() |
The only way I can see that you could get that error is if you had no 'lastvisit' time, which makes no sense at all. I can only guess that you are accessing it in some bizarre/unusual way, or some other mod is intefering with it (those script & referrer fields look very strange ......).
|
(from other.. incorrect thread :) )
I've noticed some differences between this and your 3.5 version the 3.5 version says 'no unread posts' this one shows '0 unread posts' the 3.6 version hyperlink does not include the number only the 'unread posts' text is the hyperlink. Intentional? I kinda like the 3.5 styles a bit better. |
Quote:
Quote:
|
I had this working before, great idea, now suddenly I am getting
Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 910 Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944 Any ideas?. |
Those errors are not generated by this (at least not directly) - It looks like your vb installation is missing some files (from the forum root) that are needed to generate database error message screens (database_error_message.html & database_error_page.html). You need to upload them to see the real error.
|
Thanks Paul, I copied them over and opened them, this is what it's showing
Database error in $this->appname $vboptions[templateversion]: $errortext MySQL Error : $this->error Error Number : $this->errno Date : $date Script : http://$_SERVER[HTTP_HOST]$scriptpath Referrer : $referer IP Address : $ipaddress Username : $bbuserinfo[username] Classname : $classname sorry to be a pain but I can't work this one out, any help is appreciated. |
Opening the files doesn't mean anything. If you get another database error those files will allow vb to display the error (you should also get the error e-mailed to you).
|
Hi Paul,
Great hack, need some help though. Works a treat, only on default style though. I cant get it to work on the style im using currently, if you click my sig to PBC you can see. |
Quote:
|
Hi Paul,
Is there a way to put the output which is displayed in the welcome part of the navbar to my portal page. This page contains the same block as in the forum home. It only uses another template (P_block_navbar). Something has to be added there to show up in the Portals Navbar. The portal I use is VB-Portal. Since I am a complete noob, please help me out. Thanks in advance. |
Thank you Paul.
*Installed* |
Quote:
|
Hi Paul,
I have made a test account: User: *removed: no longer needed* Pass: *removed: no longer needed* And heres a link to the two styles: http://www.pitbikeclub.co.uk/index.php?styleid=26 (works fine) http://www.pitbikeclub.co.uk/index.php?styleid=25 (Doesnt) this is the default style. Any idea how to go about getting it to work in the red default style. |
It won't work in that style, it's a totally different "Welcome" box, so the code this looks for to insert the message is not present. See post #132
|
Ok Paul, thanks.
|
So, the only thing different about my style is that the code for the welcome box is in the Header template. So I changed the plugin to look in the header, instead of the navbar... doesn't work.
Then I put in the necessary missing code, back into the navbar, doesn't work. Then I tried a default style... doesn't work. Thoughts? |
Take a looksee... http://www.amacny.com/vb/index.php?styleid=32
|
Just to confirm that $unread worked. However when you click I get taken to a new page that doesnt exist.
EX: Links to /"search.php?do=getnew\" but the whole address is: pitbikeclub.co.uk/\"search.php?do=getnew\" which doesnt exist. ;) |
becareful, this mod will interfere with checking for new posts
https://vborg.vbsupport.ru/showthread.php?t=131239 |
Quote:
|
*Edit* Server Back Online
|
Could you tell me what exactly what I have to edit?
|
The phrase - dup_posts_visit or dup_posts .
|
Any help Paul? Posts 136 & 137
|
Sorry, but I cannot help with individual custom styles. See post #132.
|
Thanks A lot
|
Quote:
|
Quote:
|
|
What's it matter, yall won't be able to see that the plugin doesn't even show up, because you don't have accounts.
|
Please provide a test login.
|
Check your PMs Paul.
|
Quote:
You seem to have overlooked the rather important note in the first post. Quote:
|
DUHHHHHHHHHHHH!!! Thanks, fixed, and working. Clicks install.
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Great mod!! :)
Clicked Installed |
Quote:
|
We outlawed slavery in the US a while back, so I think this hack now violates some regulatory statutes of the Geneva convention and the Treaty of Versailles.
|
:)
.... |
All times are GMT. The time now is 05:00 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:
|