![]() |
Everytime I try to log in on the page, using the nav bar log in it tell me Im logged in and then returns me to the main page still not logged in. If I use the block's log in bit I just get taken back to the main page not logged in.
Any ideas why I can't log in? |
Snowbot - What version of vBulletin are you running? The names of the days are not showing on your regular calendar either, so my guess would be that you're missing some calendar phrases...
Forkman - Yes, that was the correct place to modify the functions_calendar.php file. Apparently they added some new global variables to that function... Thanks for pointing that out - I just updated the zip. ;) Blue Storm - Try changing your cookie domain under the main vBulletin options section to ".yoursite.com" (without the quotes). The default setting seems to work for most people, but that seems to be necessary for some (which is why it's covered in the FAQ section in the readme ;)). |
Ah, good-o it worked. I take it you wont be wanting your account there?
Just another thing, any chance of adding some stuff to a later version such as the ability to have all blocks to one side, a forum link somewhere on the main page, explanation on how to make and use the new template stuff it keeps refering too? |
Glad that worked. And no, I probably won't be needed the account there. ;)
As far as moving the blocks to one side, that should be fairly easy to do by modifying the index template. Everything in that template is commented, so it shouldn't be too hard to move things around. Adding a forum link somewhere can be done by modifying the templates as well... I'm not sure if that will ever be something standard since everyone has a different style and would most likely want the link in a different place. Quote:
|
Hey Tigga, just a couple of things. I didn't see it in the instructions, but you need to modify the links in index_footer for admincp and modcp or they won't work.
Second, I think the latest threads are displaying posts for an admin group that regular users are able to see and respond to. I only noticed, because i received a few responses to a post i sent to other admins. I have disables the group from displaying, but i did like the fact you are only supposed to see what your permissions allow. Any one else have this problem? |
I've been dedicated to doing C++ and thus know little to no HTML or PHP so muddling though fairly complex code is a bit daunting. Ill get there though. Cheers.
|
paratek - Thanks for pointing out the incorrect links in the footer. I'll be sure to fix that in the next version. ;)
I'm not sure I follow you about the permissions thing... You said that regular users are able to see and respond to the posts, so what would be the problem with them being displayed on the homepage? |
Quote:
|
Quote:
|
Installed it; everything's working wonderfully, although I did have a question: how would I make more than one custom side block? It's probably really obvious, but I didn't see it in the Read Me file.
Quote:
|
Snowbot - Try uploading an un-hacked version of functions_calendar.php into your forum/includes folder and see if that makes a difference. That will add the arrows back and make the calendar slightly wider than the rest of the blocks, but you should try that to test and see if it's a problem with the file, or if you are somehow missing the calendar phrases.
The Quibbler - To add more custom blocks, just copy the content from one of the other custom blocks and then paste it into your index template where you would like it to appear. ;) |
I guess I do have one other problem with it that I just discovered. I made a new template called 'index_links', to try making a page for the site; when I go to adv_index.php?page=links, I get this error:
Quote:
|
Ahh, good find... If you'll look in your adv_index.php file for this line of code:
include('./includes/functions_bbcodeparse.php'); Remove that and paste it right below this line instead: require_once('./global.php'); That should fix the problem. :) |
Ah, that fixed it :)
One last question: if I was going to link to a page of content in a side block, what would I link to? Just "?page=links"? That's what I do for my current non-vbulletin home page; it's got a similar content system. But with vB, if someone came to adv_index.php?referrerid=1, wouldn't going to ?page=links and taking off the ?referrerid=1 cause the referrer to not get the credit if they register later? Or is that not how it works? |
Quote:
|
In the install file it says
Find: function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '') { global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar; Replace it with: function construct_calendar_output($today, $usertoday, $calendarinfo, $fullcalendar = 0, $weekrange = '', $dontshowweek = '0') { global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $vboptions; But that code isnt there, its now changed to global $birthdaycache, $eventcache, $bbuserinfo, $vbphrase, $stylevar, $show, $offset, $colspan, $days, $months, $show, $vboptions; so what do i change the file to now? Can you update the install instructions also so other know? :) |
Quote:
|
Quibbler - I'm not quite sure what you mean by the content in side blocks... Could you maybe give me an example of what you're talking about?
I'm honestly not too familiar with the way the referrer system works since that's not something I use. I'm pretty sure though that as long as the visitor uses the link containing "referrerid=X" when they first visit your site that everything will still work. I know a visitor can visit the site, browse threads, and then sign up, so it shouldn't be a problem if they visit other parts as well. It may not hurt to test it out though. ;) SnowBot - Ok, I figured that was it. I assume you saw that the zip file was updated earlier today, so if you download that and re-apply the file change to functions_calendar.php it should fix the problem. |
great hack,
but i?ve a problem with the calendar :/ as you can see on the attached screenshot, my calendar has 8 columns :( I?ve set "Monday" as start of week in vb-options and profile |
Tigga - I was talking about using a sideblock to have links to the pages of content, but never mind. It works fine, so I'm not going to make things more complicated by bothering with the "correct" way to do it, as long as it works.
|
Apparently I missed a small part in one of the temlate modifications. I know I had it fixed and working before, but I guess I forgot to update the template.txt file, included the wrong one with the zip, or something... Either way, if you'll change your calendar_smallmonth_header template to the following it will fix the problem.
PHP Code:
|
I'm having a problem also on my site.
http://www.nextdictator.com/ For some reason, all the links are pointing to my cgi-bin and I'm not sure why. How can I change the directories of where the links are pointing? |
Um... What do you have set for your "Homepage URL" in your main vBulletin options section?
|
Thx Tigga,
looks good now :) |
God, I'm such an idiot. I'm a little inexperienced with VBB I guess. Thanks Tigga.
|
Damn, now when I change it to the right directory I get this:
"Warning: offset not contained in string in /www.nextdictator.com/forums/includes/init.php on line 561 vBulletin Options" |
I actually posted the wrong setting anyways (sorry, trying to do too many things at once ;)). You should make sure that your "Homepage URL" is set to "http://www.nextdictator.com/" and your "Forum URL" is set to "http://www.nextdictator.com/forums/". As long as those settings are correct you shouldn't have any problems.
|
Now when I try and access my website, I get this:
"Warning: offset not contained in string in /www.nextdictator.com/forums/includes/init.php on line 561 Unable to add cookies, header already sent. File: N/A Line: 0" |
you have extra space somewhere after ?> or before <?php
|
Quote:
Also, when i click on the calendar it is pointing to the wrong url. where would i change that? and lastly, how would i go about putting php code in the custom box? Something like a server status block for a gaming server etc. Great program |
Quote:
if it is you havent setup your permissions correctly |
All permissions set correctly. they do not have access to these forums. I just excluded the forums i don't want to be seen....i'll have to live with that for now.
|
if permissions are set correctly via the forum manager no user that cant see it would see it. YOU can see it because your permissions to see it
|
Sarge - I have no idea how that could have happened... All you did was modify the URL's in the vB options section? About the best thing I could suggest would be to upload the original, unhacked files to your site and see if that makes a difference. If not, the only other thing I could think of is something you put in one of those fields is causing it. If that's the case, about the only way to fix it would be to manually edit those things in the datastore table in your database.
paratek - I'm about to send you a PM regarding the permissions... The calendar URL can be fixed by looking in your calendar_smallmonth_header template, finding calendar.php, and adding $vboptions[bburl]/ in front of it. You can't put php code in any of the custom templates... You can put the code in the adv_index.php file and use the variables in the custom templates though, or you can use vBulletin's conditionals. |
Quote:
Without the quotes of course. |
what about at the end of the file is there anywhite space after ?>
|
It's affecting his entire forum, so it wouldn't have anything to do with an error in the index.php file... I would almost put money on my guess that he entered something into the value for those settings and that's what's causing the problem... Either that, or another file had to have been changed.
|
It started to happen after I changed the homepage URL for my site. Now I can't get back to my admincp
|
Nope, no space at the end of that.
|
What file could I go into to manually change the homepage settings?
|
All times are GMT. The time now is 08:29 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:
|