![]() |
Find your "head_newpm" template and find (In 2 places):
private.php Replace with: $bburl/private.php That was left out of the readme file for earlier versions, so that's probably why it's not working. If you make that change though it should fix the problem. |
Tigga,
For some reason, my calendar is being displayed properly again. |
Quote:
Also when I use MySql front, its shows me : Connection established with host "mysite.com" on port 0 ? Server: 3.23.54 ? Client: 3.23.52 ? Protocol-Version: 10 ? Uptime: 1766626 ? Threads: 8 ? Questions: 2217168 ? Slow queries: 6 ? Opens: 8337 ? Flush tables: 1 ? Open tables: 64 Queries per second avg: 1.255 This seems way to high, and the site is a bit slow, could the extra templates be causing this as well? Thanks |
Hey Tigga-
Thanks for a great hack and for supporting it as well as you have. My question relates to the install directions in the readme (which in itself is very well put together btw). It states to install the myvbindex.php file into the root directory. Many of my users choose to logout and when they go to login via www.mysite.com they get the 404 error since the member.php it's looking for is not in the current directory. I tried some of the things you suggested in other posts (putting /forum in front of member.php and editing bburl) relating to this issue but I still get the 404 error. Any suggestions to get this to work or should I just move it into the forum directory? Thanks... |
HarleyD - Well there are a couple of ways you could go about deleting the duplicate templates. If you haven't edited any of the index templates, you could simply delete them all by running this query in phpMyAdmin:
DELETE FROM template WHERE title LIKE 'index%'; Then you could use the install script and select the option to Only Install the Templates, and that will reinstall all the original ones again. That would be the quickest and easiest way to remove them. If you have made some modifications to them that you don't want to lose, then you could log in through phpMyAdmin, browse your template table, and then change the order they are sorted in by clicking the "templateid" link twice. This should show you all your templates, orderded by the time they were created (newest first). You could delete each duplicate template one at a time there, or if you look to find where the first duplicate template is, you could check the templateid of that one and run a query like this: DELETE FROM template WHERE templateid>='XXXX' AND title LIKE 'index%'; (Replace XXXX there with the templateid of the first duplicate). And lastly, you could put your board in debug mode by adding $debug='1'; at the bottom of your admin/config.php file. After you do that, when you go to edit your templates you will see a new "global" template set. The global set is all of your default templates, and there will be an option next to each to remove it. Oh, and the queries you're showing shouldn't be from the myvbindex file... Even with all the options turned on, it only performes 29 queries at max. Huron - It should already direct them to the location of your member.php file... The best thing I can suggest would be to edit your "index_logincode" template and look for this code: <form action="$bburl/member.php" method="post"> Change $bburl there to /forum (assuming your forum's directory is called forum). It should work just fine with $bburl there instead since that's a global variable, but I do seem to remember one other person having a problem with the $bburl variable working for them. If for some reason that doesn't work though let me know. |
Hi Tigga,
I hope I am not going to be pain in the butt, but I was wondering how easy this would be to set up, using code from mYvBindex poll section. In essence, I would like to use poll on other non-vB pages, but be able to specify 'threadid', so each non-vB page has different (prespecified) poll. Scenario (example): You want to place information on your site about five music venues in your city. Each venue occupies one whole page to itself. So venue 1 has venue1.php page, venue 2 has venue2.php etc. You want to allow visitors to your pages to vote (rate) any venue and possibly leave and read comments from previous visitors. Question: You set up a 'venue' sub-forum in vB, with five threads within, called 'venue 1', 'venue 2' etc. You set up poll in each thread for visitors to vote (rate) particular venue. But then, you want to allow users to vote directly from venue's non-vB page (e.g. 'venue1.php...) like in mYvBindex page poll, so each non-vB page poll is linked to corresponding thread in the forum. This could be hack in its own right, and for some reason I believe that only small adjustments are needed in order to make it work, as mYvBindex already has a working example, although it only displays last thread (poll) in specified 'Poll' forum. Any thoughts on this? |
Thanks sooo much!!!!!!!!!
What I just learned is priceless, Its people like you that pass there knowlege down so people like me can do the same. the site is alot faster, after removing the duplicate templates, I'm still showing 64 queries and need to figure out why, but I know its not related to your hack. Have a nice day! I know I am, I just love it when I learn something new, its like a new toy to play with, I know I'll break it a few times, put it back together, and learn something in the process. :) :) :) |
ivanmcp - That shouldn't be too hard to do. I'll see if I can put something together for you and release it when I get a chance.
Harley D - No problem at all. As for the queries, if you have that many on your myvbindex page, they're most likely coming from your forum/global.php file or your admin/functions.php file, assuming you haven't modified the myvbindex.php file. ;) |
Quote:
Thanks in advance - bobII |
You would have to put that code in your usercp.php & forumdisplay.php (or global.php if you're planning on using the template in more places).
|
All times are GMT. The time now is 11:40 PM. |
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:
|