|
Joined: Dec 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 27 |
OK, I feel like an idiot... I used MultiHack for the calendar with no problems, and I just used it again for the MyStyle(tm) mod also, but with slightly different results. I don't see any MyStyle information anywhere on my board or in my Control Panel other than in the Mod Wordlets area... Any ideas? I've read and looked and searched for about an hour, and I'm lost. Update: I just looked at all of the files on my BB, and they contain everything in the text version of the mod. I know I'm just not looking at something right...and it's Friday night, so no one's gonna be on.. 
|
|
|
|
Joined: Dec 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 27 |
Alright, it's been verified. I *am* an idiot. The first time I saw this hack implemented, it was at http://www.multihack.com/lk/download.cgi where the style slector is on the bottom of the page. So, that's where I was looking. In fact (if anyone else sharing my IQ comes along) it is in the individual member's profile. So.. this opens up two questions... 1) I like to tinker with style pages and sometimes we create a "corporate" style page when we are courting sponsors/advertisers. I don't want those to be seen. Is there any way to make a style page invisible to the public? 2) I'll try to figure it out on my own, but I'd love to put that style selector on the page somewhere instead of just in the profile. You have that "hack of a hack" handy? Thanks for your help.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. in 6.1's thread: [/code]ubb_registration.cgi[code] [/b] Then admins can choose it, though.
2. Where would you want to put it?
[edit: fixed unregistered problem with ||, even tho it still says "LK unregistered".. and even tho my IP isn't "$user_profile[8] eq 'Administrator'".. and even tho my name is not 'reg' ]
|
|
|
|
Joined: Dec 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 27 |
1. Thanks! You're my new best friend!
2. Well, there's already a "Your current theme is..." in the bottom part, so that would be a good place for it. I know I can find it, but I've been looking at code for the past 14 hours... any direction would be much appreciated!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I don't like it there.  Even tho it's "very possible" 
|
|
|
|
Joined: Dec 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 27 |
Just like this... http://www.multihack.com/lk/download.cgi Or I can put it in one of the top table rows. I just want my users to see the new feature they can enjoy. I'll take a look at it again tomorrow when my eyes are fresh. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Basically, in ultimatebb.cgi, where it says "your current scheme is.....", add a form with a selectbox of all schemes, and add a new ubb=update_style to update the profile with the new style template.
|
|
|
|
Joined: Dec 2001
Posts: 27
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 27 |
What am I doing awake at 4:15 am? (Rhetorical) OK, I did a quick fix that I think works rather well... just a link on the existing theme notice in the footer that takes you directly to your profile edit page at the template section. Might be a more official way to do this, and I'll probably wordletize(tm) it later. In ultimatebb.cgi, I took the [/code]and replaced it with
</pre></div></div>In public_edit_profile.pl, I found <br><br> <div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> and made replaced it with [code] Sorry for the fast version of it, but I hope you appreciate the simplicity. BEDTIME!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|