Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by James Cridland James Cridland is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-07-2001 Last Update: Never Installs: 14
 
No support by the author.

I'm logged in to your board... so why is there still a link at the top of your board asking me to "register"?

I'm not logged in... so why is there a link to my "control panel"?

This bit of code will remove the pointless links from your forum, leaving it looking neater and using (a bit) less bandwidth.

Details: Two template edits, that's all.
Demo: http://forums.mediauk.com
Use Username: vbulletinorg Password: vbulletinorg so you can see both states. We use text rather than the standard graphics, but you'll find the graphic code enclosed in the hack documentation.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 02-02-2002, 07:33 PM
kc5uyw's Avatar
kc5uyw kc5uyw is offline
 
Join Date: Jan 2002
Location: Dallas
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Execellent *clicks installed*
Reply With Quote
  #43  
Old 02-03-2002, 06:49 AM
haas haas is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any answer in the hack working with vbportal?
Reply With Quote
  #44  
Old 02-03-2002, 07:57 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Arathorn
Tested on vb 2.2.1 with vbportals 3.
Reply With Quote
  #45  
Old 02-03-2002, 01:47 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After buying vBulletin last december, I seriously got suprised that this wasn't 'default' in vB (especially because we are up at version 2.2.2 by now).

As a guest, I was wondering why some buttons appeared on the menu, since some have been set to 'disabled' for guests through the admin control panel.

As a registerd user, I was wondering why buttons like login or register were showing up on the menu, when I was logged in.

As a admin/supermod, I was wondering why I kind of missed a link to the admin/mod section.

I really hope freddie does implement this all (or partially *g*) into version 3. I would really appriciate this (and I think more members will do).

>>brainstorm>> Maybe it is nice to have this as an option in the admin control panel > Forum options.

Show link on frontpage to the admin [x] and/or moderator [ ] back-end ?

Show link on menu to 'register' [ ] and/or 'login' [x]

or something near that.
Reply With Quote
  #46  
Old 02-27-2002, 11:19 PM
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Dec 2001
Location: Georgia, USA
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't get the Register/CP buttons on vbPortal's home page, either. Did you have any luck resolving this? I put the code into vpbincludes.php as suggested.
Thanks
[QUOTE]Originally posted by Erwin
The hack works for vBPortal 3 on the Forum home page, but not for the vBPortal Main Home page (following the vBPortal instructions above). Which is a big hassle. I'll see if there's a way around it.
Reply With Quote
  #47  
Old 05-13-2002, 09:28 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a small bug in the installation instructions:

In phpinclude part, the code:
-- cut --
//Make control panel appear if user is logged in, otherwise offer them the chance of registration
if ($bbuserinfo['userid']<"1") {
//they're a guest
$register_or_controlpanel = "<a href=\"register.php?s=$session[sessionhash]&action=signup\"><img src=\"{imagesfolder}/top_register.gif\" alt=\"Registration is free!\" border=\"0\"></a>";
} else {
//they're registered
$register_or_controlpanel = "<a href=\"usercp.php?s=$session[sessionhash]\"><img src=\"{imagesfolder}/top_profile.gif\" alt=\"Here you can view your subscribed threads, work with private messages and edit your profile and preferences\" border=\"0\"></a>";
}
-- cut --
does not parse session variable so I suggest taking it outside like that:

-- cut --
//Make control panel appear if user is logged in, otherwise offer them the chance of registration
if ($bbuserinfo['userid']<1)
{
//they're a guest
$register_or_controlpanel = '<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>';
}
else {
//they're registered
$register_or_controlpanel = '<a href="usercp.php?s='.$session[sessionhash].'"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>';
}
-- cut --

BTW nice idea and good hack...

Regards,
Logician
Reply With Quote
  #48  
Old 05-14-2002, 09:06 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that. I'll update the hack.
Reply With Quote
  #49  
Old 05-16-2002, 09:37 AM
hoops hoops is offline
 
Join Date: Nov 2001
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx! was easy enough..
Reply With Quote
  #50  
Old 06-05-2002, 01:39 AM
Carthriller Carthriller is offline
 
Join Date: May 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the direction on the txt file for VB2.2.5 but didn't work. I also have vbportal version 3.0 installed. What other changes would I need to make? Thank you.
Reply With Quote
  #51  
Old 06-05-2002, 05:35 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Carthriller
I followed the direction on the txt file for VB2.2.5 but didn't work. I also have vbportal version 3.0 installed. What other changes would I need to make? Thank you.
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 02:21 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
  • Page Generation 0.15003 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete