UBB.Dev
Name: Userdefined Subscriptions

Credits: To nobody and everybody!... but especially me!... ...

Description: Users can define their own subscriptions which will be displayed below their Username - Status - Member #.
------------------------------------------------------------------------
w00t!!
My first mod.

People can define their own subscription and the subscription will be displayed below the username and the member#.

But maybe there is one little problem: I'm afraid that somebody else already has posted this mod/hack. So : If you're that dude: Mail me and I'll put you in the credits:
----------------------------------------------------------------------------------------
Here we go!

*Open* vars_wordlets.cgi
########################
Step 1: Find:
########################
);
1;
########################
Step 2: And add BEFORE that:
########################
subscription_field => "Your custom subscription",
subscription_explain => "Your custom subscription will be dislayed below your Username and your #Member no."
########################
*Comment*:: Oh yeah: Don't forget to add a "," to the last wordlet: like if the last wordlet was: no_option => "No". Replace the "." with a ","
########################
*Close and Save the file*
########################

Ok!.. let's continue:


*Open* public_edit_profile.pl
########################
Step 4: Find:
########################
$B1$vars_registration{customfield1}$B2:

########################
Step 5: And add AFTER that:
########################



$vars_wordlets{subscription_explain}

########################
Close and Save the File
########################
Step 6: Repeat Step 4 and Step 5 with the files:
public_register_page.pl & public_register_page_kid.pl
########################
Tralalala... We're almost there
########################
*Open* public_topic_page.pl
########################
Step 6..err...7: Find:
$member_number
########################
and add AFTER that:
########################


$user_profile[16]
########################
*Save the file*
########################
Upload all the files and CHMOD them (if required)
Go to your Control Panel. Go to "Primary Settings > Registration Settings"... Go to "Custom Registration Field # 1", Fill in (in the "Field name:") Subscription. Then point your mouse a little but to the right and activate the thing (Required/Optional... it's up to you)

And now you can also go to your Primary Wordlets and Define your Wordlets for this mod!...

And there you have it... Userdefined Subscriptions...

It's not that big... right?..

Oh well...

I can't give you 100% support, but hey... I can always try!...

Have fun!

- eGo2000

Edit: Just some additions
lol..
it seems nobody needs it..

oh well..
nice try...
DO you have a demo ...sounds cool laugh
hehe.. you could always visit http://www.mobieltje.net/cgi-bin/harpoen/ubb/ultimatebb.cgi

Here's a topic:

http://www.mobieltje.net/cgi-bin/harpoen/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=000047

But as you can see, I redesigned my forum a bit (like: member # and member status are now next to total posts..)
Hey Looks good and.......Cool mijn eigen taal smile

Thanks I am going to try it laugh
Question?

this looks kinda simple besides showing the thing under you name and stuff

does it actually subscribe you to e-mails about those forums such as in the UBB 5.xx versions?

cause from what i see here it doesnt

so whats the point?
I think this is meant as a custom title hack.
Quote
quote:
It is.
I like this one! Originally if a user wants custom status on my board I'd have to do it with the custom status/rank hack.

BIG HEADACHES!!!

Now, they can just do it themselves!!! OUTSTANDING!!!!

BTW, does it allow HTML? cool
Hey, looks pretty good! Installed like a breeze.

I tried to post it using HTML, but to no avail. Oh, well. Saves me and the other mods alot of time so who cares, right?

A quick suggestion! You may want to find a way to limit the amount of charactors for the descriptions...er....subscriptions j/k. You wouldn't want people having like 200 lines of text under thier name, now would ya?

[ July 13, 2001 01:59 PM: Message edited by: LordPhayd ]
hey...
Some ppl mailed me this problem:
They have an Avatar Hack installed or made their own custom fields....
So Custom Field 1 (or even CF 2) (both) is(/are) is already occupied.
So my solution is:
I can put the hack in CF4. I think that would be pretty. So I guess it is the best for other hackmakers to put my hack into CF4. But the choice is up to the hack-installer. So: here we go!

*Open* vars_wordlets.cgi
########################
Step 1: Find:
########################
);
1;
########################
Step 2: And add BEFORE that:
########################
subscription_field => "Your custom subscription",
subscription_explain => "Your custom subscription will be dislayed below your Username and your #Member no."
########################
*Comment*:: Oh yeah: Don't forget to add a "," to the last wordlet: like if the last wordlet was: no_option => "No". Replace the "." with a ","
########################
*Close and Save the file*
########################

Ok!.. let's continue
########################
Step 4: Find:
########################
$B1$vars_registration{customfield2}$B2: # Note!! Choose your own custom field. So if you want it Custom Field 3, the field would be: $B1$vars_registration{customfield3}$B2:

########################
Step 5: And add AFTER that:
########################



$vars_wordlets{subscription_explain}

########################
Close and Save the File
########################
Step 6: Repeat Step 4 and Step 5 with the files:
public_register_page.pl & public_register_page_kid.pl
########################
*Open* public_topic_page.pl
########################
Step 6..err...7: Find:
$member_number
########################
and add AFTER that:
########################


$user_profile[17/18/19] # Note again!! If you chose in Step 4 Custom Field 1, your choice here would be 16. If you chose Custom Field 2, your choice here would be 17. If you chose Custom Field 3, your choice here would be 18. If you chose Custom Field 4, your choice here would be 19.
########################
*Save the file*
########################
Upload all the files and CHMOD them (if required)
Go to your Control Panel. Go to "Primary Settings > Registration Settings"... Go to "Custom Registration Field # 1", Fill in (in the "Field name:") Subscription. Then point your mouse a little but to the right and activate the thing (Required/Optional... it's up to you)

Hmmm....

Is it good now?... 8)...
Oh yeah, about the charachters-limiter: I have to check that out. But I CAN'T, because right now I'm on Holiday.

greetzz...

eGo
© UBB.Developers