![]() |
Hiya :)
First i wanna say, im totally an NOOB :) and installed this hack, think it is great, but i have 2 quessys 1. the weather.....u see i live in denmark, is there anyway to change the "default" weather setting, seems no sence to show how NY has shiny weather when it is raining here *lol* 2. about the "costom boxes" is there anyway i can choose etc. box 1 to show ONLY for administrator ??? i dont know much about php or coding here, as i said i'm really a noob, but learn fast :P My regards |
Quote:
Since we're on a roll, why do you think I'm getting this error when I copy and paste the part for weather (see a couple posts back): Parse error: parse error in /home/pkrwud/public_html/vbulletin/admin/functions.php on line 812 Fatal error: Call to undefined function: vbsetcookie() in /home/pkrwud/public_html/vbulletin/admin/sessions.php on line 205 Thanks again! |
Jeffj - Thanks for the compliment and for helping PKRWUD. :)
cyklonen - Yes, there is a way to change the default city for the weather hack. If you'll look in the readme file, it's explained right under the section that explains the Admin CP options. As for making one of the custom boxes visible only to admins: Open your myvbindex.php file and look for: PHP Code:
PHP Code:
|
PKRWUD - What version of vBulletin are you running?
|
Great :)
hehe the first place to look, lol why i forgot that :D well u are the man, and the templates for admin only works aswell :) THX bro, i'm glad for the QUICK responce Keep up the good work ;P |
for anyone having problem getting the current temperature to display properly when installing this hack on 2.2.5 I found the problem.
the myvbindex.php has this line: PHP Code:
PHP Code:
- jeff |
Quote:
|
That's odd... I'm running 2.2.9 on both my personal site, and another server I use just to test things and have never had an error like that. If you would like to send me a copy of your modified admin/functions.php file I'll be glad to take a look and see if I can find the problem. If you'd like to send it, use the address plurplanet@hotmail.com. I'm in the process of moving servers right now, so my regular email address isn't working at the moment. ;)
|
Quote:
I would like to keep the templates. But if for you will be easier to write description about upgrade with new style it will be excellent. |
installed and works great!
A little tricky to figure out how to edit everything. Only error left is that it wont show the avatars on the main page. www.combatwars.com |
3dfly - Ok, here's the best way I can tell you to upgrade from 2.0 w/o switching the templates style. Download v3.1 and upload the myvbindex.php file over your old one. Then download the update.php file from this post. That post tells exactly what that upgrade script does, so read it carefully before continuing. And lastly, you can download the 3.0 redme file from here (by the way, that file has a php extension since I couldn't upload a html file here, so just open it with your browser as you normally would). At the bottom of that file, it will give you a list of templates you need to edit. Make those changes, and then check the bottom of the 3.1 readme file for one last template change you will need to make and that should be it. It really shouldn't be too hard and still shouldn't take more than a few minutes, but if you have any problems/questions let me know. Oh, you will also NOT need to run the upgrade script that comes with 3.1 as the alternate upgrade script will make the necessary changes for you.
cbwadmin - In the url to your avatar it has your forum url twice, so I'm guessing you have the "Path to image" for your avatar set to the full url to your site. You should be able to fix that by opening your myvbindex.php file and looking for this line: $newsavatarurl = "$bburl/$news[avatarpath]"; Remove the $bburl in that line and it should fix the problem. Alternatly you could edit your avatar's path's and remove the http://yoursite.com/ from them, but I figured the above fix would be easier. And if that doesn't correct the problem let me know and I will be sure to find something that will. ;) |
looking for some more addons though
I love this page http://www.wxchat.com/index.php things im lookin to add 1.top 10 posters 2.a shoutbox that fits 3.random photos box 4.affiliates box 5.supporting members box ive tried adding these things-the template never comes out right though has anyone added these?-and if so-could you please share your templates? i would be very grateful great hack anyway-installed without a hitch |
what you said didnt work, but it lead me in the right direction.
Its working now. Thanks. |
maverick - Most everything you mentioned shouldn't be too hard to add...
The top 10 posters wouldn't be hard at all. I can tell you how to do that tomorrow after I get some sleep. There are 2 shoutbox integration mini-hacks in the first post on this thread. Have you tried either of those? Random photo's shouldn't be hard, but I would have to know where they would be coming from... Ex - Do you use Photopost or something like that? An affiliates box could be done by adding or editing a custom template couldn't it? I'm sure a supporting members box would be possible, but how do you distinguish a 'supporting member' from a regular one? cbwadmin - Glad you got it working. :) |
Hi Plurplanet,
I decided to have attchements work for news too and went thru the instructions you gave matrix and ended with nothing showing but no errors (template made and newsbits edited as well as the myvbindex) and I was wondering what info you gave matrix in pm that got it goin' Quote:
|
Littlebit - What exactly is it showing? Does it display the broken images as it did with Matrix, or does it just show nothing at all? The problem when Matrix tried it was he forgot to change the news query to add in the call to the attachment table. If all that seems to be correct, you can email me a copy of your file and I'll take a look to see why it's not working properly.
|
maverick - Here is how you can add the top X posters...
Open your myvbindex.php and look for: PHP Code:
// Forum Permissions Right above that line, add: PHP Code:
PHP Code:
Then create a template called index_topposterbits with the following content: PHP Code:
Oh, and that's set up to display the top 10 posters for your forum. If you would like to change that number, just change the part "DESC LIMIT 10" in the code you added to whatever you would like the number to be. |
in the FWIW department. I use PhotoPost and I added code to Myvbindex to display the 3 most recent photos posted in PhotoPost. Ther's also logic to 'exclude' one of my photo galleries since one of them contain only pictures of hot looking babes in thongs (part of the high performance boating scene). I only show the boat pictures on the myvbindex page.
:) |
So where are these pictures of the hot babes in thongs??? :p
|
PlurPlanet,
yeh, nothing at all is showing. I bet for the same reason. I'll pm you the file all the same just as a added measure. :). |
having a problem with myvbindex 3.1
the code i put in the sid area of my profile on the portal it shows the code and don't work any help on that http://www.deanosworld.net this is what i mean http://www.deanosworld.net/sig.JPG |
deano1 - I accidentally overlooked using vBcode in signatures. You can fix that by opening your myvbindex.php file and looking for:
if ($news[showsignature]==1) { Right below that add: $news[signature]=bbcodeparse($news[signature]); |
Thanks PlurPlanet!
Everything is working excellently (is that a word?) |
No problem Littlebit. Glad it's working. :)
And yes, excellently is a word. :p http://dictionary.reference.com/search?q=excellently |
Quote:
you right thanks for your help one other thing this step to install the portal i could not do at all if i did do this it would wipe out my online users and only show one , if the person was there or not this step i'm reffering to is this but it works fine without it In your Admin CP, find the Templates section and click on Modify. Find your "forumhome_loggedinuser" template and replace the code there with this code. <a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">$username</a>$invisibleuser |
No problem deano.
For the online users... If you got that result, you changed the forumhome_loggedinusers template instead of the forumhome_loggedinuser one. ;) |
mYvBindex......... Best! :bandit:
|
Quote:
i may have i was drunk when i did the install , lol i will have a look thanks |
Quote:
i went back and did it right the only change it made anyway was making the online user names a bit smaller but you say it's needed , so it will stay thanks for all your help i like this portal |
LOL! Installing hacks while drunk is never a good thing. ;)
Changing the template shouldn't have made the text any smaller though... All that does is add $bburl in front of the link so it will point to the right place on your index file. |
kool thanks
|
Brian-
Thank you so much for looking over that file, and sending back the corrections! I made them, and now it works flawlessly. I'm still not sure how the code became that way, but that's what I downloaded. Also, to answer your question regarding vB, I do have 2.2.9, and it's the only version I've ever had. In any case, thank you so much for your hack, and for following through with personal help! It is greatly appreciated! Take care, ~Chris |
Thank you PlurPlanet!
I updated home page, is working excellently. |
No problem you guys. Hope you enjoy the script. :)
|
i love it
|
is there anyway i can add my vbb skin to it?
|
What exactly do you mean by skin? It will display the colors and etc from your styles, and you can edit the index_header template to match the rest of the site if that's what you mean.
|
I recently installed this hack, everything seems to be working fine except if someone receives a private message from the index page, when the popup and asks "Would you like to open a new window to view the new message" it points to private.php. I need to change the link to:
/forum/private.php Can anyone tell me where I can make this change. I've been looking in the admin without any luck so far. Any help is greatly appreciated! Thanks in advance, Bob |
Oh, thank you for pointing that out. I guess I changed the template so long ago on my site and forgot that would be necessary.
To fix it, edit your head_newpm template and look for: window.location="private.php?s=$session[sessionhash]"; Change that to: window.location="$bburl/private.php?s=$session[sessionhash]"; That should work, but if it doesn't replace the $bburl there with the url to your forums. Sorry about that and thank you for pointing it out. :) |
Thanks for the speedy reply. You pointed me in the right direction, the line that needed to be changed is as follows:
(Press cancel to open your $inboxname in the current window.)"); if (second_box==true) { window.open('private.php?s=$session[sessionhash]','pmnew','width=600,height= 500,menubar=yes,scrollbars=yes,toolbar=yes,locatio n=yes,directories=yes,resi zable=yes,top=50,left=50'); when I concatenated the private.php to the actual URL that solved my problem.... :banana: Thanks again - bobII |
All times are GMT. The time now is 01:11 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:
|