Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Give your users a new website address! Details »»
Give your users a new website address!
Version: 1.00, by James Cridland James Cridland is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-15-2002 Last Update: Never Installs: 4
 
No support by the author.

Just a bit of fun, really, but this bit of PHP allows each of your users to have a website address of their own. It looks for a username's profile - if that username has set a homepage, it'll forward off there. If not, it shows their user profile.

As an example...

http://james.cridland.users.mediauk.com/ is me - but I've set my homepage to Virgin Radio so it'll go there instead.
http://paul.easton.users.mediauk.com/ is Paul - but because he's not set a homepage in his control panel, it just shows his user profile.
http://olly.benson.users.mediauk.com/ is Olly's own site.

This is an ideal way of giving your users something extra - a redirectable website address.

Code is enclosed. Have fun with it.

Show Your Support

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

Comments
  #2  
Old 10-16-2002, 08:28 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool. I may use this. The only problem is that some users may have questionable sites that uses this, and it would take forever to go through thousands of profiles. This hack has no approval system. But it's cool nonetheless.
Reply With Quote
  #3  
Old 10-16-2002, 09:32 PM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack but I agree with Erwin about approval system, if it does and I will install.

But still, good job with hack
Reply With Quote
  #4  
Old 10-16-2002, 09:46 PM
Abbas Abbas is offline
 
Join Date: Nov 2001
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, an approval system is definetely needed for this.

Excellent idea though!
Reply With Quote
  #5  
Old 10-16-2002, 10:29 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Approval system in the form of what everything else uses on vB - moderation.
Reply With Quote
  #6  
Old 10-17-2002, 04:24 AM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm thinking also perhaps the number of posts a user must have before getting such a page. No sense having blank pages for users who only post once or twice, then forget about your forums.
Reply With Quote
  #7  
Old 10-17-2002, 06:08 AM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack only sends a redirect. It doesn't "frame" the information (though it could): there's therefore no obvious editorial link.

In any event, there's no difference between this link and the link you already give to all users in the form of their homepage: and you have been moderating those, haven't you?

ManagerJosh - I can easily add a "number of posts" addition into this hack if it would be useful. Better would be a check when the user last visited (which is also easy to add), so that it only works, say, if the user has been to your site in the last three months. I don't like encouraging people to post rubbish or "Me too" just to keep their account active: just visiting should be enough.
Reply With Quote
  #8  
Old 10-17-2002, 09:10 AM
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this easy to set for just a specific user group?
Reply With Quote
  #9  
Old 10-17-2002, 10:05 AM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is now. v1.1 (in the top message) lets you only switch on redirecting to "external" websites for one particular usergroup. It's also easier to configure.
Reply With Quote
  #10  
Old 10-17-2002, 10:53 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by James Cridland
This hack only sends a redirect. It doesn't "frame" the information (though it could): there's therefore no obvious editorial link.
Someone can still put a link from your site on a separate page and people will click on it thinking it's going to your site, but it redirects to a porn site or something. You're right, it should be monitored definitely. Having a separate usergroup is a good idea.
Reply With Quote
Reply

Thread Tools

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 05:23 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.11606 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
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)bbcode_quote
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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_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