View Full Version : Experiencing a Few Issues / Need Help With Postbit Code
Hikarin
04-13-2012, 11:52 AM
Hi, I'm finally getting around to making my forum. I think it should be okay for public display in two months.... but first, I'm trying to get everything set up neatly and I don't know how since I'm new to php. Your help will be GREATLY appreciated!! I've searched for answers but I haven't been able to find them, so sorry if I just wasn't looking hard enough. Also, unfortunately, I've had to give up on a lot of mods and the like because after a while the creators don't seem to read their own threads any more.... disappointing.
I am really lost. >_<
1) The full url of my forums is www.mywebsite/forum/home.php but if I type in just www.mywebsite/forum/ like how I've seen done on other forums, it's a dead link and doesn't redirect to the forum home. How can I make this happen?
2) How can I edit the signature line to put in my own separator?
3) I used what I found in this (https://vborg.vbsupport.ru/showthread.php?t=247801&highlight=center+avatar) thread to centre my user rank and avatar which I really like, but in the user profiles, ranks are still aligned to the left. How can I fix this?
https://vborg.vbsupport.ru/attachment.php?attachmentid=137734&stc=1&d=1334321793
4) I like what I've done so far for users with the postbit and I'll probably add more links to things when I get the chance (like FB, Twitter, YouTube etc.) but a noticeable problem that I foresee and can already see is that things are become too long. I want to perhaps have the option to hide and show the area I have selected in red. Can someone tell me how I can do this or another method?
https://vborg.vbsupport.ru/attachment.php?attachmentid=137733&stc=1&d=1334321793
5) I have Yet Another Award System enabled. What exactly's going on here? O_o
https://vborg.vbsupport.ru/attachment.php?attachmentid=137732&stc=1&d=1334321790
Any/all help will be appreciated more than you know whether the issues are resolved or not.
Thank you!
~Hikarin.
I don't have complete answers for you, but...
1) The full url of my forums is www.mywebsite/forum/home.php but if I type in just www.mywebsite/forum/ like how I've seen done on other forums, it's a dead link and doesn't redirect to the forum home. How can I make this happen?
You should have had a file called index.php which would display the home page. Did you rename it or did you use another file? If you really don't want to use index.php then you might be able to configure you web server to use another file as the default, or maybe you could use a .htaccess file to redirect to home.php.
2) How can I edit the signature line to put in my own separator?
In the template postbit.css there's this:
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar signature_border};
margin-top: 2em;
}
Which I believe creates the separator. If you can figure out how to do what you want in CSS you could change that, or else you could edit the postbit_legacy template, find post.signature, and insert whatever html you want.
4) I like what I've done so far for users with the postbit and I'll probably add more links to things when I get the chance (like FB, Twitter, YouTube etc.) but a noticeable problem that I foresee and can already see is that things are become too long. I want to perhaps have the option to hide and show the area I have selected in red. Can someone tell me how I can do this or another method?
https://vborg.vbsupport.ru/attachment.php?attachmentid=137733&stc=1&d=1334321793
You can do that with some javascript to hide/show a portion of html. Or maybe you can use a mod like this one: www.vbulletin.org/forum/showthread.php?t=257985
5) I have Yet Another Award System enabled. What exactly's going on here? O_o
https://vborg.vbsupport.ru/attachment.php?attachmentid=137732&stc=1&d=1334321790
Questions/problems about modifications must be asked in the mod thread and not in this forum.
HHelp1
04-13-2012, 02:02 PM
I don't have complete answers for you, but...
You should have had a file called index.php which would display the home page. Did you rename it or did you use another file? If you really don't want to use index.php then you might be able to configure you web server to use another file as the default, or maybe you could use a .htaccess file to redirect to home.php.
In the template postbit.css there's this:
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar signature_border};
margin-top: 2em;
}
Which I believe creates the separator. If you can figure out how to do what you want in CSS you could change that, or else you could edit the postbit_legacy template, find post.signature, and insert whatever html you want.
You can do that with some javascript to hide/show a portion of html. Or maybe you can use a mod like this one: www.vbulletin.org/forum/showthread.php?t=257985
Questions/problems about modifications must be asked in the mod thread and not in this forum.
But if there is no support ?! 0.o
But if there is no support ?! 0.o
I can sympathize, but those are the forum rules (based on what I've seen mods/admins tell people). That's a risk you take when you install a mod. There's nothing stopping people other than the mod author from helping you, it just needs to be in the mod thread.
Hikarin
04-14-2012, 04:30 AM
Ah, thank you so much! I don't really have any way to thank you though.
1) resolved
Silly me! I forgot to update that file....
I changed forum.php to home.php (I absolutely hated the look of /forum/forum.php) but never changed that fact at the bottom of the index page. I love it when things are that simple. ^_^
.... or maybe you could use a .htaccess file to redirect to home.php.
How can I go about doing this for future reference?
2) Thank you very much, that should be enough to go off! =D
With a little fiddling I believe that I will get it right.
4) I'm not very good with javascript yet, but that mod should work perfectly for now! There's no need to go all out straight away.
5) Sorry, I'll try harder and see if I can get it resolved there.
You have been a great help. Thank you so so much. ^///^
Can anyone answer the last question - question 4 for me?
Lynne
04-14-2012, 04:42 PM
4. Try a search on "postbit*" or "post*" in vB4 Mods, Title only. I have seen a mod that allows you to hide/expand part of the postbit before, so try a search for it.
Hikarin
04-15-2012, 06:13 AM
4. Try a search on "postbit*" or "post*" in vB4 Mods, Title only. I have seen a mod that allows you to hide/expand part of the postbit before, so try a search for it.
So such a thing does exist then? Thank you, I'll keep searching!
Do you know about centreing ranks on the profile page also? (Question 3)
Lynne
04-15-2012, 04:12 PM
You would need to center the whole userinfo area:
#sidebar_container.member_summary .blocksubhead {
text-align: center;
}
#sidebar_container.member_summary .blocksubhead #userinfo {
width: 100%;
}
And then if you don't want some centered, such as the name, then go:
#sidebar_container.member_summary .blocksubhead .member_username {
float: left;
}
Hikarin
05-13-2012, 02:53 AM
You would need to center the whole userinfo area:
#sidebar_container.member_summary .blocksubhead {
text-align: center;
}
#sidebar_container.member_summary .blocksubhead #userinfo {
width: 100%;
}
And then if you don't want some centered, such as the name, then go:
#sidebar_container.member_summary .blocksubhead .member_username {
float: left;
}
Thank you so much, it worked a charm! =D
The only thing I couldn't find though was how to fix the online status indicator here. It looks a little off in the middle, but if I try and move it left, it goes too far left where it is too close to the username. It's not like it's overlapping the name or anything, but there isn't that tidy space that it would normally have. Is there any way to fix that or do I just have to deal with it?
All other issues are resolved and this thread can be declared closed if no one has an answer to my final question.
Thank you so much everyone for your help! ^_^
Lynne
05-13-2012, 03:41 PM
I'd need a link to see it in order to suggest some CSS for it.
Hikarin
05-15-2012, 12:05 PM
I'd need a link to see it in order to suggest some CSS for it.
Ah, this is so embarrassing since I haven't gotten around to making a nice skin or fixing the banner design for it yet! >_<
But if it helps, I'm not going to be stupid and stand in the way of that.
Here's a link to my profile page: http://hijaku.com/forum/member.php?1-Hikarin
Lynne
05-15-2012, 04:54 PM
I cannot see anything as the forum is closed to unregistered users.
Most likely, you want to float is left and then add some left padding so it isn't so close to the username.
Hikarin
05-16-2012, 02:26 AM
I cannot see anything as the forum is closed to unregistered users.
Most likely, you want to float is left and then add some left padding so it isn't so close to the username.
Oh, sorry, I forgot that I had done that. It should be fixed now.
Lynne
05-16-2012, 04:34 PM
Try this:
#sidebar_container.member_summary .blocksubhead .member_status .inlineimg {
float: left;
margin-left: 10px;
}
I would strongly recommend getting firebug for firefox so you can so little things like CSS changes yourself.
Hikarin
05-16-2012, 09:26 PM
Thank you very much. This thread can be closed now. ^_^
I have Firefox, but I didn't think that it was useful for things like that.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.