![]() |
Ok, this should be a quick/easy way to fix that. Just open your myvbindex.php file and look for:
require('./global.php'); Right below that add: if ($bbuserinfo['userid']==0) { $bbuserinfo[bbshowonline]=1; $bbuserinfo[bbshowonline]=1; $bbuserinfo[bbshowstats]=1; $bbuserinfo[bbshowpoll]=1; $bbuserinfo[bbshowsearch]=1; $bbuserinfo[bbshowcustom1]=1; $bbuserinfo[bbshowcustom2]=1; } If for some reason that doesn't work for you let me know. Oh, and I'm not sure I follow you about the buttons having a form on them... There is a <form> tag started earlier in that template and the new options use that same form. If you were trying to move them to another template or something like that you would just use the same <form> tag as near the top of that file. |
AWESOME!!!
I will get the form code added and show you my beta page. |
Here is the start
http://www.digital-tutors.com/digita...ndex2_beta.php Is there a simple recipe to add custom boxes to the options? Can I just search for the custom1 and duplicate it to make custom 3, 4 and so on? Thanks so much. My page is really getting together. Papa |
Looks very nice so far. :)
I looked over the file edits to be sure and searching for custom1 and duplicating for each additional option should work just fine. By the way, I was planning on making a mini-hack that would move the latest threads part to the center (similar to yours) and would add a little additional info like the forum, last poster, time, and etc. I'll probably post it tomorrow or the next day so be sure to check back here if that's something you'd like. ;) |
I'm not sure if anyone else has experienced this but this morning out of the clear blue I started getting a mysql error on the following code in myvbindex.php. I've been using myvbindex for about 2 weeks.
---------------------------------------------- SELECT thread.threadid,thread.title,thread.replycount,thr ead.postusername,thread.postuserid,thread.dateline ,thread.views,thread.iconid,thread.votenum,thread. votetotal,post.postid,post.pagetext,post.allowsmil ie,post.showsignature,user.signature FROM thread LEFT JOIN post USING (threadid) LEFT JOIN user ON (user.userid=post.userid) WHERE thread.forumid=81 AND isnews='Y' GROUP BY thread.threadid ORDER BY thread.threadid DESC LIMIT 1 so I pasted the query into mysqladmin and ran it and got the following error... Quote:
I checked the integrity of the data in the thread tables and post table and everything checks out just fine. Like I said - this just started happening after two weeks of running fine. ideas? |
Can you check your myvbindex.php file and look for this line:
// Latest Forum Topics Copy the next 5-6 lines after that and paste them here for me. Also what version of myvbindex do you have? |
plurplanet, got something for ya
we want another page, but want the menus on left and right to be the same, just don't want the news in the middle we want a different template there, is there an easy way to make this ?? |
Ranger - Something like this should be pretty simple and should work...
Open your myvbindex.php file and look for: // News if ($newsforum!='') { Right above that add: if ($action=="newpage") { eval("\$newsbits = \"".gettemplate('index_newpage')."\";"); } else { Then look for: $DB_site->free_result($getnews); unset($news); } And add another } right below that. You can change "newpage" in the first part ($action=="newpage") to whatever you want, and also of course name the template to whatever you'd like. You would then add the content you'd like in your new template, and then to display that template instead of the news, you would link to http://yoursite.com/myvbindex.php?s=$session[sessionhash]&action=newpage |
For the weather part, is there anyway to set the city you want to be the default city for guests instead of New York? Say I wanted it to be Midhurst for the default? Also I have another question. I am always getting a white box with an X in it for the icon. This is the URL of the icon, http://www.mysite.com/forums/images/weather/.gif As you can see it is always trying to find an image icon that is .gif no matter what the weather is, and I don't have a .gif image icon.
|
Tony - If you look in the readme file, right under the section that explains the Admin CP options, there are instructions on how to change the default city.
I'm not quite sure why the image wouldn't be working... Did you upload the weather icons to your forum/images folder? Also, does the rest of the info display properly? |
All times are GMT. The time now is 06:03 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:
|