![]() |
Edit: Never mind.. I m such idiot about border... thanks in case
|
Just incase you decide you'd like to change it later, here's what you'd do...
Open myvbindex.php and look for this line: PHP Code:
Then you'd just change { firstaltcolor} to whatever you'd like it to be, and if you'd like to change the font color you'd just change the { caldaycolor}. |
Hi Plurplanet
Great hack I want to ask about login? i wish when i put username and password...login to forum, not myvbindex? you can fix it? Thanks |
Hi Chip,
It should already take you back to the homepage when you log in. Be sure you followed the instructions, specifically the part where you edit the 2 lines in your member.php file, and make sure you uploaded that file to your forums directory. If for some reason that doens't work let me know. |
yes i done...it is working ...but to my home... i mean when i put user & pass, it will log in direct to my forum...the same vbulletintemplates.com
Thanks so much good man |
Ahhh, sorry if I misunderstood you the first time. If you would prefer for your user to be redirected straight to your forums page after logging in instead of the myvbindex page, just undo the changes you made to your member.php file. :)
|
OH...you mean i undo edit member.php...Ok i will try.
You can add info about forum as total member, total thread...newest members, new post... regards |
PlurPlanet, thanks for codes. I drop the calendar anyway and will change a bit...
I wonder is it possible to add the avatar to news post? Id like to have that one so how? Thanks in advance. |
Just add the $postbit[avatar]
|
Quote:
|
Hi
When i quote...have erorr in newreply : Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/myweb/public_html/vtf/newreply.php(47) : eval()'d code on line 1 whats happen Thanks |
chipheodeptrai - Do you have any other hacks installed where you modified newreply.php? The only modification made for this hack is one to add a field to the database to determine if the post is news, which shouldn't affect quoting a post.
For your question about adding forum info... Yes, it can be added fairly easily. Keep in mind though that for each thing you add (total posts, total threads, newest member, etc) it will add an additional query to your database. To add these, open your myvbindex.php file and look for : PHP Code:
PHP Code:
Goldknight - I should be able to release v2.1 by this weekend which will include news avatars plus a couple of other new features. And don't worry, upgrading will be easy. :) If anyone has some suggestions for features they'd like added in future versions please let me know. |
Quote:
speaking of avatar, is it individual avatar or just one news avatar? It ll be nice to have individual avatar normal just like postbit. |
will u put the colour onlines addons in fortoday online and currently online
|
PlurPlanet, any luck with avatar?
There is one concern that I need your help with. I have two different style and selectable for members to use. Anyway after I change to different style and I modify style a bit to add home (wwwurl.com/index.php) to access myvbindex instead of delete in url in IE or whatever to access. And myvbindex kept old style even after I change the style. Not only that I tried to use url in IE to access and found it still keep old style too. Is it possible for me to change that to work with multiple style to access myvbindex with whatever style I select? Thanks |
Sorry, I haven't had as much time to work on this lately. I've been doing a lot of work on my site, plus I've starting work on a bigger project. :)
It's not a problem getting it to display the news poster's avatar, but I've had problems getting it out of a query loop (basically for every news post it will add one query to the page). If you'd still like to add the avatars despite the loop let me know and I'll post the code to change. I'm not going to release the new version though until I can get that loop fixed. For the styles - I just looked at it and it appears that the colors, images, and such are changing as they should, just not the header. Since your header is the same for your forums and your index, you should be able to look in your index template and replace "$index_header" with "$header". Then it will just pull your regular header templates instead of the index_header template. If for some reason that doesn't work let me know. Oh, and Graphics... You should be able to do that using the hack on here. Just make the changes to myvbindex.php instead of your forums index.php file. I haven't really looked at that hack but it should work. |
Replace $index_header with $header in index seem work =) Thanks also about avatar and queries, yeah I aint mind due to numbers of members anyway for present. Many thanks
|
Ok, here's a quick & easy way to add the news avatars. I wouldn't recommend adding it if you have a couple of dozen news posts, but otherwise it won't really have an effect on performance.
In your myvbindex.php find: // News Comments Right above that add: PHP Code:
PHP Code:
Then in your index_newsbits template add $newsavatar wherever you'd like the avatar to appear. That's it. :) I should have a little more time to work on the hack and release the next version by next week. After that I probably won't be releasing any future versions for a while as I'm going to be concentrating on a much bigger project that will combine myvbindex with a bunch of other options. Assuming everything goes well I'll be looking for beta testers in a few weeks, so I'll post more info about it then. :) |
Great, thanks I m going to do that right away in an hour. Good luck about your project =) If you need a beta testers, lemme know, I d love to try yours =D Thanks for everything.
|
Well it may be anywhere between a few weeks and a few months before it's done, but if everything goes well it's going to be very nice once I'm finished. I will most likely charge a little for this one, but as soon as it's ready for beta testing you'll be the first to get a copy. :)
|
Is the weather hack any good to canadians? Or will it only show american cities?
|
I am having a problem getting the Calendar to work. Also i upload the weather_install.php to my admin directory, but when I try to go to the url it says cannot display page.
|
Yes, the calendar will work for Canada or pretty much any country.
What problem exactly are you having with the calendar? Can you post or PM me the url to your myvbindex so I can take a look? |
No I was asking if the weather will work for canada. Also Iupload the weather_install.php to my admin directory and when I try to run the script to install it, it says cannot display page.
|
Yes, the weather will work for Canada. (sorry, that's what i meant in the first post)
Are you sure the weather_install.php was uploaded completely and you're going to the right URL? What is the URL to your myvbindex? |
Quote:
|
Hi,
This seems like a great hack, but I'm really only interested in displaying the latest threads on my main page, nothing else...no polls, no news, no nothing. How would I go about doing this? I just want to have a section on a regular php page (my main index page, not my forum index page) that just displays the latest threads. Is this possible? Thanks |
Visionray, yeah it is possible. You can turn off these features at AdminCP right after you install this hack.
|
He could do it that way, but it would be pretty pointless to have all the extra code if it wasn't being used. If you look on here for TECK's "Latest XX Threads on Fourmhome", you should be able to edit that pretty easily to change it for use on a homepage. (I think all you would do is add the chdir('/path/to/your/fourm'); above the coding, though I haven't looked at it in a while). If you're not that good with PHP or can't figure it out let me know and I can make a file for you.
|
Hye plurPlanet
i dont know why i cant login from myVBindex? plz help thanks |
Did you set the cookie path to your domain name as instructed in the install file? What is the url to your site?
|
Quote:
PHP Code:
PHP Code:
|
*bump*
|
Thanks for the hack m8... Ill check it out, look loads better than version 1 !!
*hits install* |
Tony - Those queries should work. The only other thing I can suggest is checking the Weather Mk thread and downloading the queries from there. One note though - I've had the weather turned off for my homepage for the last 2 weeks now. It's hardly been working, and even when it did it would cause my homepage to take 10-20 seconds to load. I think they changed the settings at theweatherchannel.com because their site's still working, but not the script. Once I have the time I may see if I can write a new one.
Snout - Thanks for installing. :) |
PlurPlanet thank you for the hack!!!
BEST ! And without hysterics about (?) and pirates ........ ???? :) Ill check it out tomorow. |
no news showing up and yes i followed every step and have uploaded new thread and reply, however when i do upload these files i cant post a reply nor a thread i hav double checked and the file mods have been done correctly and the isnews row does exist i just cant work it out, could it be something to do with other hacks i have installed in these two files ? cheers in advance
|
Hmm, that's odd... I noticed in your profile that you have 40 hacks installed, so it is possible that something else could be affecting it. If you would like to email me (brian@plurplanet.com) with your newreply.php and newthread.php files I'll be glad to take a look and see if I can figure it out.
Also, what do you have set for News Forum ID and News Posts Maximum in the admin options? Could you post the url to your myvbindex.php file on the server so I can take a look there too? |
Actually I tried that and it didn't work, could it be my phpMyAdmin version?
Welcome to phpMyAdmin 2.2.0 MySQL 3.23.41 running on localhost |
Try running this query instead...
PHP Code:
|
All times are GMT. The time now is 02:25 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:
|