![]() |
Sounds like you added forums/ in front of each link in your normal header template. Edit your header template and either remove the forums/ in front of each link, or add a / in front of forums/.
|
ok, I'll try that. Man your fast !
Yep, I did add FORUMS/ to the links in my header template some time ago, Adding the / in front of the FORUMS/ fixed it. Thanks once again! |
Quote:
|
Thank you tigga.. I must say this is the BEST mod ever!
|
Tigga,
I'm having a problem with the ADMIN thread titles showing up on my myvbindex under the Latest Forum Topics for registered users. It is my understanding that this works off the users PERMISSIONS. I have tried changing some usergroups permissions with all NO's and the ADMIN thread titles still show when I'm logged in as a regular member. They can't read them, but I don't want them visable at all unless they are logged in as a admin. What do I need to do? please detail, I'm a nuub @ PHP, My main talent is moding graphics/skins, html and flash. but have been forced to learn php as my clients want me to do more and more :) Thanks in advance |
Bison & frankenberrie - No problem. :)
Harley D - Check that your forum permissions for your private forums are set not to allow registered users, guests, or any other groups to view threads, and make sure that the "Use custom settings" button at the top of the permissions pages is set to yes (that seems to be something that is very often overlooked). As long as all the permissions are set correctly then users will only see threads that they have permission to see. |
Yep, I forgot to make the changes custom, seems so easy when you know the answer, lol.
Thanks once more :) |
Well if it makes you feel any better, a few weeks ago I noticed that I had forgotten to make sure that was checked on couple of my private forums... This being after I had already told people to check for that at least a few dozen times. ;)
|
An intersting find.
In my mYvBindex Templates, I noticed that I have 2 of every template! Is this normal, or should I delete the 2nd one of each template? |
Nope, you should only have one of every template. The best way to delete them would probably be through phpMyAdmin (or you could put your board in debug mode and delete them that way).
|
How do I uninstall this? Is there a script that does this for me?
|
Yep. There's a link on the myvb_install.php file to uninstall.
|
Does anyone have any idea why sometimes when users log out on the board I installed this hack, they still remain logged in. And at times when someone clicks a new thread, they are automatically logged out? Any help would be great. I'm certain it's not a computer related problem because I've tested this on various machines. :)
|
Did you set your cookie domain as instructed in the readme file? What do you have set as your cookie domain and your path to save cookies?
|
I set it as blank. I tried one time and used .smallville-torch.com but it didn't work.
|
Try setting it back to .smallville-torch.com, log out, manually clear your cookies, and then test it. If that doesn't work let me know, and let me know what you have your "Path to save cookies" option set to.
|
Quote:
Thanks for helping. |
If you check the first mini-hack in the first post it will tell you how to add more custom templates. ;)
By the way... The song that plays on your homepage, who is that? :) |
Tigga,
I hope that you will include little post in here to inform us when you release your 'magic' hack, as discussed earlier. Also, I noticed on your site a 'newsletter subscribe/unsubscribe' box. What did you use for that? Soz, one more thing about mYvB. When registered user votes in the poll on the front page, he/she will see poll results every time they return to the site. If unregistered users are allowed to vote, and they do make a vote, they will not see the poll results on the site's home page. In other words, every time they return to the site's home page, they will still see radio buttons, even tho they can not cast another vote. I am not sure if this is how vB handles guest votes, or is something to do with mYvB. You might want to try casting the vote on my site at www.ivansville.com , as guests are allowed to vote. When you return to the home page, you will not see poll results. Any thoughts on this? Regards Ivan |
Yes, once the hack (which I think will be called vBadvanced (lite)) is done then I will post here about it, and you'll also see it in this forum. I've made a little progress on it, but not quite as much as I would have liked to by now... Been a really busy week.
The Newsletter thing you see on my site is just a simple cgi mailing list script that I've been using forever. It's not tied in with vBulletin in any way other than I use $bbuserinfo['email'] to automatically put the user's email address in the text box. ;) You're right about the poll thing... It should be checking for a cookie on the users computer to see if they've voted, but apparently it's not. I'll look into that and try to fix it in the next couple of minutes... I guess v3.2.3 is on it's way. ;) |
Well you've gotta love it when you make a dumb, simple little mistake. If you'll look in your myvbindex.php file for $pollid and replace that with $pollinfo['pollid'] it should fix the problem.
|
Lol, thanks for that, I will try it in a minute. I guess you could only see my hands on my webcam, I would have liked to say hello :) .
Also very excited about your new hack - vBadvanced (lite), and can't wait for a pro version :classic:. I appreciate all the time that you put into these things, so no hurry (but make it quick, hehe). Ivan |
thanks tigga, that music is live streaming audio from C-Dance Radio station in Belgium.
|
Quote:
That is in my include.php file not myvbinde file. also you need to include $custom3 in the index template as well where you want the table to show up. |
Ahh, I forgot you had turned yours into somewhat of a portal, so yes, it would be in your include.php file instead of your index file.
The variable $custom3 there can be called whatever you would like and would be what you would use in the index template to call that template. ;) |
Tigga - here's an interesting one. I noticed on the calendar section this morning the date was out. This month should be starting on Sunday, but its starting on a Monday and throwing the table out it seems.
My normal vB calendar is fine btw. |
That's odd... I just tried changing the "Start of the week" option to Monday on my site and it's doing the same thing. It's fine with any other day selected, but not Monday. I did some quick testing and it appears that parts of the calendar are going by the server's time and not using the time offset that is set in the Admin CP, while others are using the time offset. I'm not sure yet if that's also what's causing the problem with the dates being messed up, but it may be. Either way I'll see if I can figure out what's wrong and post a fix as soon as I do. The original calendar hack was written by wajones for vBportal, so I may just end up re-writing it myself.
|
hehe, i noticed the same issue with my calendar, but decided to wait for the next month.
|
Grrr... Well I was hoping it wouldnt be that big of an issue and would work properly after the 1st of June. Apparently that's not the case though... It looks like I'm just going to have to re-write the calendar part from scratch. It will probably be a few days before I have the time to do that, but I will try to get to it asap.
|
New problem for you, Tigga: My users are reporting that when they access the front page and they get a pop-up indicating they have a PM, the pop-up redirects them to an error message (specifically, to a private.php at the root that doesn't exist). However, if they click on the PM link in the user CP template, there are no problems. Hmm?
|
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 12:19 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:
|