Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2012, 11:52 AM
Hikarin's Avatar
Hikarin Hikarin is offline
 
Join Date: Jun 2011
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Experiencing a Few Issues / Need Help With Postbit Code

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 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/attachmen...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/attachmen...1&d=1334321793

5) I have Yet Another Award System enabled. What exactly's going on here? O_o
https://vborg.vbsupport.ru/attachmen...1&d=1334321790


Any/all help will be appreciated more than you know whether the issues are resolved or not.
Thank you!
~Hikarin.
Attached Images
File Type: png award.png (46.7 KB, 0 views)
File Type: png post.png (83.7 KB, 0 views)
File Type: png rank.png (35.0 KB, 0 views)
Reply With Quote
  #2  
Old 04-13-2012, 12:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have complete answers for you, but...

Quote:
Originally Posted by Hikarin View Post
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.

Quote:
2) How can I edit the signature line to put in my own separator?
In the template postbit.css there's this:

Code:
/*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.


Quote:
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/attachmen...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

Quote:
5) I have Yet Another Award System enabled. What exactly's going on here? O_o
https://vborg.vbsupport.ru/attachmen...1&d=1334321790

Questions/problems about modifications must be asked in the mod thread and not in this forum.
Reply With Quote
Благодарность от:
Hikarin
  #3  
Old 04-13-2012, 02:02 PM
HHelp1's Avatar
HHelp1 HHelp1 is offline
 
Join Date: May 2011
Location: Florida
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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:

Code:
/*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
Reply With Quote
  #4  
Old 04-13-2012, 02:33 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HHelp1 View Post
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.
Reply With Quote
  #5  
Old 04-14-2012, 04:30 AM
Hikarin's Avatar
Hikarin Hikarin is offline
 
Join Date: Jun 2011
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. ^_^

Quote:
Originally Posted by kh99 View Post
.... 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?
Reply With Quote
  #6  
Old 04-14-2012, 04:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 04-15-2012, 06:13 AM
Hikarin's Avatar
Hikarin Hikarin is offline
 
Join Date: Jun 2011
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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)
Reply With Quote
  #8  
Old 04-15-2012, 04:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to center the whole userinfo area:
HTML Code:
#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:
HTML Code:
#sidebar_container.member_summary .blocksubhead .member_username {
    float: left;
}
Reply With Quote
  #9  
Old 05-13-2012, 02:53 AM
Hikarin's Avatar
Hikarin Hikarin is offline
 
Join Date: Jun 2011
Location: Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You would need to center the whole userinfo area:
HTML Code:
#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:
HTML Code:
#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! ^_^
Attached Images
File Type: png Untitled.png (36.0 KB, 0 views)
Reply With Quote
  #10  
Old 05-13-2012, 03:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd need a link to see it in order to suggest some CSS for it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:45 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
  • Page Generation 0.04344 seconds
  • Memory Usage 2,306KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_html
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete