![]() |
Yes I uploaded all the other images, and everyone show up except for this one that appears to be just .gif not 1.gif, 10.gif, 30.gif, etc.
|
Hmm... That's strange. The only reason I can think of that it would do that is it wouldn't be recording the icon value in the database, but it doesn't make sense why that wouldn't work if everything else does. Does it ever show the icon? Have you tried using the "force update" link to update the info in the database?
|
Yeah, I have and it still shows a white box with an x in it. I just sent you pm with my site and weather.php file so that way as long as you don't mind you can see what I mean. Thanks for your help.
|
Sorry I forgot to mention that I use Midhurst for the name of the city in Canada.
|
Well I just signed up on your forum and everything worked fine, until I changed the settings to Midhurst. I also tried using Midhurst on my site and it doesn't display the icon there either. Every other city I tried worked fine though, so it has to be something to do with msnbc.com.
|
ok, then thankyou for your help.
|
The News Section (Middle Column) doesn't show up on the home page ... I know I placed the right forumID under the options pages. :paranoid:
|
Did you make sure you edited the newthread and newreply php scripts?
|
Sure did ... the 3.1 instructions didn't show modifications to the newreply.php ... the 3.0 version did though ...
I knew something was missing in the 3.1 version ... and I know there's a mistake in the code somewhere. |
The reason there are no instructions to edit the newreply.php file for v3.1 is because it's really not necessary. During the installation process, it modifies your post table to add an extra column which is used to determine if the post is the first in the thread. Once the newthread.php file is modified, it will always insert a 'Y' into that column indicating that the post is the first in the thread. Since the column is set to have an "N" by default, it's really not necessary to also edit the newreply file.
Rolodex - Did you make the news posts before or after installing the script? If the posts were made before you installed the script, then that is the reason they are not showing up. If you'll refer to this post there are instructions on how you can manually update those posts. If that's not the case and the posts were made after the script was installed, please post or PM me a link to your website, and let me know what you have your News Forum ID set to and I'll take a look to figure out what's wrong. |
No ... the forum didn't have any posts in it. I'm on my company intranet, so I can't give you a link. I can show you a screenshot, if that will help.
|
Hmm... If the newthread.php file was edited correctly & uploaded, and the News Forum ID is set correctly, then there's no reason the news part shouldn't work. Do you have access to phpMyAdmin? If so, you could log in with that and check your 'post' table. First make sure that the last column there is called 'isnews', and then find a post that was made in that forum and make sure that it has a 'Y' in that field. If the post doesn't have a 'Y' in that field, try changing it there and see what the result is. Also, what do you have set for your News Forum ID and News Posts Maximum?
|
My new forumid is "54" ... and the news post "max" is set to zero (unlimited).
The Polls work fine (I Had polls already posted there). |
Did you check to see if the isnews column has a 'Y'?
|
Here's a snapshot of my admincp settings:
|
I checked the post table but I don't have any posts in that forum. I set it so that the forum cannot be seen on the main forum index page but can accept new posts from the vbindex page.
Did I do this right? |
Ok, this is strange... I checked my test server and set the News Limit to 0, and it resulted with no news being displayed. I had changed a couple of things on that one though, so I uploaded a fresh version and setting it to 0 worked fine... Try setting the news limit to something other than 0 and see if that changes anything.
|
Nothing ... I even changed every post column in the database under isnews to "Y" and still nothing!
|
Is it possible that there's an misspelled variable in the v3.1 template code?
Here's a dump of the index_newsbits template: Code:
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="100%"><tr><td> |
Are you sure you have your News Forum ID set correctly? 54 does seem a little high unless that is the 54th forum you have created.
The entire middle column where the news should be is blank, right? With it working fine on my site and many others, it wouldn't be something such as a variable mispelled. Even if something was mispelled in that template, it would result with the tables around the news post showing up, just not the message. If the News Forum ID is correct, here is something you can try... First set your News Limit to something other than 0. Then open your myvbindex.php file and look for this line: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Doing that will remove the parts that make sure the News Forum ID and News Limit aren't set to 0. It should still work fine with that, but it's always possible that there's something with the version of PHP you're running that would cause it to behave differently, so it's worth a try. |
By the way, you are running v3.1, correct? Did you start out with the version you're using or did you upgrade from an earlier version?
|
Installed V3.1 ... I didn't upgrade.
Tha tfix you added didn't work either ... i'm using php 4.30 |
I even deleted the forum (54) and created another one (55) and that didn't work either ....
|
This is weird... I really don't see why the news isn't working when everything else works fine... If you want, you can try replacing the part for the news with the query below:
PHP Code:
|
That didn't do it either ... i'm tellin ya that there's somethin with the variable names that not gettin posted.
I'd like to copy your templates you have working (for the news) into mine, to see if thats the issue here. Another thing ... does the myvbindex.php file have to keep it's name (Can I rename the file?)? I renamed it to index.php inside the root directory above my forum folder. This is the part in the "index template" that's susposed to post the contents of the news variable into the index page ... from the MyVbIndex templates that were created during the install: Code:
</td><td valign="top">$newsbits</td> |
The only 2 that should really matter are the index and index_newsbits since it would at least show something besides a blank page if all the settings and these 2 templates are correct I've attached them in a text file here (I would post them, but it would replace the color variables with vb.org's).
And yes, you can rename the file to whatever you would like. |
The $newsbit variable is what calls the index_newsbits template. It's on line 443 of the myvbindex.php file.
eval("\$newsbits .= \"".gettemplate('index_newsbits')."\";"); |
I noticed that the $index_footer isn't being called either!
Yikes! |
Um... Did you check that your index template had the right content? What other major hacks do you have installed? I just saw that you have 96 hacks installed, so it's possible that another hack could be affecting something.
|
I don't have that many installed from my profile. That's how many i've installed to test in the ime i've been a registered member.
This is baffling me but I know now what could be the problem. It seems that none of the templates from the install are being read. I changed from your index_footer template ... to the regular footer template, and it worked. So in theory, I think that the templates that were installed are not being recognized as default templates. They might have to be redesignated as custom templates instead, in order for them to work. Is there a way to reassign the templates to custom ... instead of default? |
That's really weird, but hopefully that will be the solution. If the index_newsbits template has already been changed and is showing as custom though, I don't see why it wouldn't display if that was the case. There's not really an easy way to change them all to custom templates other than editing and saving each one.
|
Also, by changing the footer template, do you mean you changed the content of the index_footer template to what is in your regular footer template, or that you changed the $index_footer variable to $footer in your index template?
|
I attached an image in the previous thread ... shows that the templates were installed as default templates...
I changed under the "templates used" to "footer", instead of "index_footer" ... |
Plurplanet,
I just checked that template you mentioned above..I don't know what I did, but I had just $username instead of $bbuserinfo[username]...oops thank you :) there is something I just noticed also, in the online users ...the clickable user names that are logged in take you to the wrong url....leaving out the forums directory...ex. http://mysite.com/members.php instead of http://mysite/forums/members.php |
Littlebit - Did you upgrade from v3.0 or 2.0? If I remember correctly, the $username variable was used in versions 2.0 and earlier, but should have been $bbuserinfo[username] in v3.0 and 3.1. It was changed just to remove a small bit of code that wasn't really necessary.
For the logged in users, it sounds like you may have missed a step in the install file, or perhaps the template could have been reverted to it's original. If you'll edit your forumhome_loggedinuser template and add $bburl at the beginning of the code for the link it should fix that right up. :) |
Oh man...I must have installed 2.0. thinking it was 3.0...what do you recommend I redo to make sure all works since I did all the upgrade instructions for 3.0 to latest instead of 2.0 to latest like I should have done.... :cross-eyed:
Oh thanks for pointing out the forumhome_loggedinuser template. That was it. 2 my bads...ugg :o |
my forum is on this directory
http://www.myfootballforum.com/forum I want the mYvBindex.php on this directory: http://www.myfootballforum.com but when i put it in this directory, none of the pictures show up? They show up on the http://www.myfootballforum.com/forum directory. Wht is this? The portal file is set to: // Enter The Full Path To Your Forums Here chdir('/home/sites/site8/web/forum/'); // No Further Editing Necessary how come none of the images show up? |
Littlebit - From looking at your site, I don't see anything else that doesn't seem to be working properly. However, there were a few templates that were changed from 2.0 to 3.0, so I'm going to attach the readme file from that version which includes a list of all templates that were changed, and how they were changed. You may want to look over that to be sure you won't have any problems in the future. Also, any of your templates that have not been customized will not need to have anything changed as the upgrade file should have overwritten any original templates. Oh, it's also possible that you would have a couple of extra options in the Admin CP (such as News Smilies) since those would not have been removed with the way you upgraded. It really shouldn't affect anything, but if you would like to just highlight all your myvbindex options and paste them here, I can look over them and tell you how to easily get rid of any that aren't used any more. Again, it won't affect the way the script functions, but may help to prevent some confusion later. ;)
mcyates - It looks like you missed a step in the install file. For the images to work properly, you have to change the path to your images for each style. Here are the instructions from the install file: Next find the Styles section near the bottom left frame in your Admin CP. Click on "Modify" under Styles, then click on the [fonts/colors/etc] link. Near the bottom of this page you will see a section for Image Paths. Set the "Image folder path" and the "Title image path" to the full URL for your images folder inside your forums (ex - /forum/images or http://yoursite.com/forum/images). You must do this for each of your styles, otherwise your images will not show up. |
ok thanks for that quick reply, i have sorted the images out. Now the problem is, i'm logged into the portal for the url below:
http://www.myfootballforum.com/forum/myvbindex.php?s= but not logged into the portal when its out side the forum url: http://www.myfootballforum.com/index.php (the renamed portal file) |
Did you edit your cookie path as instructed in the readme file?
|
All times are GMT. The time now is 05:02 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:
|