The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
What the title says;
In depth: Lets say someone signs up for your board, but they don't put in a homepage, well my request is to have it say a chosen URL (settable via ACP) to display. This is only if field is left blank... So basically... 1. I sign up 2. I don't put in a homepage 3. It's blank 4. My homepage automatically becomes whatever homepage is set as default via the ACP ![]() I think it's a simple good idea? I hope someone can make it!! |
#2
|
||||
|
||||
![]()
open register.php
find PHP Code:
PHP Code:
![]() |
#3
|
|||
|
|||
![]()
Thanks! Maybe you could release this as a mini-hack, I'm sure it'd be popular!
|
#4
|
|||
|
|||
![]()
Will this only work for people who register after I uploaded the new file?? Because I just did the hack and a user who had registered before me taking this action (who didn't put in a homepage) still has a blank homepage in his profile...
|
#5
|
||||
|
||||
![]()
You'll have to run an SQL query...
Satan |
#6
|
||||
|
||||
![]()
yes it'll only work for people which register after you uploaded the new file.
as satan said, you could run an sql-query to use it for already registred users: [sql] UPDATE user SET homepage='http://url' WHERE homepage='' [/sql] and to deny users to edit the homepage to a blank, open member.php find PHP Code:
PHP Code:
|
#7
|
|||
|
|||
![]()
Tha Rock you can always just as easily as alter the query for homepage and give it the default value of whateva you wanted it to be ^_- hope that helps...
g-force2k2 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|