|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
LK, told me what i did wrong, i kinda reversed the add there. all fixed =)
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
|
|
|
|
Joined: Aug 2001
Posts: 155
Member
|
Member
Joined: Aug 2001
Posts: 155 |
Great hack, but is there a way to include only certain style options to choose from on the profile page? I have the main stlyes, but then I have 2 different styles for private forums that I don't want to show up on there.
Any help would be appriciated. -Thanx
I'm not really back. I went away again.
|
|
|
|
Joined: Jul 2001
Posts: 1,111
Member
|
Member
Joined: Jul 2001
Posts: 1,111 |
n/m i got it, thax LK
[ 12-03-2001 03:14 PM: Message edited by: Anime-loo ]
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
LK, please help... Installed this modification again and still no errors (bonus points!) But like my previous post in the user profile all I have under the "my profile" in the templates is options for "none" & "standard", there are no options for colors  Where did I mess up or what should I re-hack? I also have WOL (cgi version) and the jirc chat modifications installed and working. TIA, [ 12-04-2001 12:08 AM: Message edited by: 1QuickSI ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
And do you have any other style in the CP? 
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
|
|
|
|
Joined: May 2001
Posts: 122
Member
|
Member
Joined: May 2001
Posts: 122 |
worked like a charm for me. thanks LK
A wise man Confucious once say, "Man who stands on toilet, high on pot!"
|
|
|
|
Joined: Feb 2001
Posts: 125
Member
|
Member
Joined: Feb 2001
Posts: 125 |
Amazing Mod !!!! BRAVO BRAVO BRAVO BRAVO BRAVO BRAVO and one last thing BRAVO 
|
|
|
|
Joined: Aug 2001
Posts: 155
Member
|
Member
Joined: Aug 2001
Posts: 155 |
Help? please? [ 12-05-2001 03:28 PM: Message edited by: GTSDurango ]
I'm not really back. I went away again.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
GTS, why would you want to do that? If your members like this scheme, why shouldn't they use it? Also, don't forget if the admins will choose their own scheme, they won't be able to see the 'special' one in that forum/in any forun.
|
|
|
|
Joined: Dec 2001
Posts: 32
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 32 |
maybe its just me but transition pages still seem to keep to the standard template, fix?
|
|
|
|
Joined: Feb 2001
Posts: 125
Member
|
Member
Joined: Feb 2001
Posts: 125 |
2 Questions I have
When I try to change the template I get a message FYI. Other user change normally the template without having this message. Any ideas?
I also get a None Template in my box. Have I done something wrong?
|
|
|
|
Joined: Sep 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 15 |
I have a particular template that is only intended to be used in one private forum. How do I make it so that users can't set that template as their default one?
|
|
|
|
Joined: Sep 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 15 |
Also, how can you remove the 'None' option?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
OK, I'll tell you how, but I can't see any reason to use it ubb_profile.cgi + ubb_registration.cgi (twice) [/code]ubb_profile</pre></div></div>ubb_registration.cgi[code] About the NONE thing, it's in ubb_profile.cgi and ubb_registration.cgi... Which reminds me that it's not Wordletized... ZIP file is gonna be updated in a sec.
[ 12-10-2001 11:51 PM: Message edited by: LK ]
|
|
|
|
Joined: Feb 2001
Posts: 125
Member
|
Member
Joined: Feb 2001
Posts: 125 |
LK about the problem I have with the FYI do you have any ideas?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Dreamer, did you choose a valid template?
|
|
|
|
Joined: Feb 2001
Posts: 125
Member
|
Member
Joined: Feb 2001
Posts: 125 |
quote: Originally posted by LK: Dreamer, did you choose a valid template?
Yes , If I login with another nick and I dont have this problem. My friend also who is a moderator has this problem.It just says
FYI dreamer:
» Please use your browser's back button to return.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I have no idea, it doesn't check anywhere if you're an admin/mod...
Did you make a modification that modifies ubb_profile.cgi?
|
|
|
|
Joined: Aug 2001
Posts: 71
Member
|
Member
Joined: Aug 2001
Posts: 71 |
LK, is your message board down..? I can't seem to access it, although I can access your hack page fine. Thanks  .
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
installed flawlessy, and I'm in the process of building a wide variety of templates for it. My green board has to stay green (or my wife will kill me) but the .org board is gonna be a My Style board for sure.
|
|
|
|
Joined: Apr 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 28 |
LK, here's my problem...
I'm trying to install MyStyle (Which by the way is a truly amazing hack). I entered in all the code in EXACTLY as instructed. I went to ultimatebb.cgi on the server and It gave me a million and one errors. Here are the errors...
Global symbol "%vars_chat" requires explicit package name at /home/sites/site88/web/ultimatebb.cgi line 36. syntax error at /home/sites/site88/web/ultimatebb.cgi line 45, next char @ Global symbol "@tempprofile" requires explicit package name at /home/sites/site88/web/ultimatebb.cgi line 45. Execution of /home/sites/site88/web/ultimatebb.cgi aborted due to compilation errors.
I went back and removed all the code the file told me to enter in, re-upped the file, and everything worked (Except MyStyle).
Can anyone offer assistance? I run UBB 6.1.0.3...
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I just have to say thanks, and let you know how l337 this hack really is. I'll create a guest account so that people can try it on my board as a demo...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Looks like you did this step incorrectly:
[code][/code]
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
LK do you have the ability to choose which styles are to be used or does it use all thes styles ?
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Chuck, I think I responded the question many times, while in one of the last ones I've posted a way to do it...
It shows ALL schemes, because I think this hack changes the purpose of schemes. Why do you want to hide a scheme? Anyway, just look for the fix in one of these posts if you wish.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
[/code]ubb_profile</pre></div></div>ubb_registration.cgi<div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> ultimatebb.cgi[code] I've changed some things since my other post, so use that code. [ 12-16-2001 05:49 AM: Message edited by: LK ]
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
ok thanks Hidding a style would be usefull If I am working on a style and I don't want people to use it yet or have a style for a single forum which can't be reused. thanks for the fix  I wasn't sure if the other one had been included in the code or not.
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Apr 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 28 |
Here's what my line of code looks like.... quote:
use vars qw($ULTIMATEBB $filehandle %vars_style_reference $trademark $trade $InfopopCopyright %weights $version $version_number $masterCharset $release_j %GotTime $template $vars_graemlins %template %vars_config %vars_misc %vars_registration %vars_forums %vars_styles %vars_display %vars_style %vars_email %vars_time %vars_search %vars_pm %vars_wordlets %vars_wordlets_err %vars_wordlets_email %vars_wordlets_img %vars_wordlets_date %template_match $username $password $last_login_dt $session_login_dt $last_login_j $session_login_j $days_prune $LastLoginTime $pubname $user_topic_view $user_number @ubber @login @session $ThisHTML $exact_path @memberslist %in $memlistopen $cache_cookie $forum_threads $summary @alltheforums @allthecategories @memberslist_array %forum_thread_data %ProfileNumber %member_profile $CurrentTab $Hiddens $direct_to $Legend $LoginWording $MainButtonsLine $TableWidth2 $ContactLine $TBT $TBB $Header $Footer $EmailHeader $show_logout $show_logout_noreg $instant_jscript $title_wording); %vars_chat %vars_whos_online @tempprofile
I got a new copy of ultimatebb.cgi, hacked it, reuploaded it and got this error...
Global symbol "%vars_chat" requires explicit package name at /home/sites/site88/web/ultimatebb.cgi line 36. syntax error at /home/sites/site88/web/ultimatebb.cgi line 46, next char @ Global symbol "@tempprofile" requires explicit package name at /home/sites/site88/web/ultimatebb.cgi line 46. Execution of /home/sites/site88/web/ultimatebb.cgi aborted due to compilation errors.
[Edited by LK: your [code] line was too long and caused some display problems, I've changed it to [quote]]
[ 12-17-2001 02:27 AM: Message edited by: LK ]
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
WHen I'm using this hack I'm not allowed to close topics or open them back up. It's because of this code: [/code] Because that is the only code I changed in ubb_lib_files.cgi and that's where I'm getting the error.
This is the error I get: [code] So hopefully someone can look at that code and get it fixed. Also is anyone else having trouble closing/opening topics after using MyStyle?
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
jzollo66: Replace it with: quote: use vars qw($ULTIMATEBB $filehandle %vars_style_reference $trademark $trade $InfopopCopyright %weights $version $version_number $masterCharset $release_j %GotTime $template $vars_graemlins %template %vars_config %vars_misc %vars_registration %vars_forums %vars_styles %vars_display %vars_style %vars_email %vars_time %vars_search %vars_pm %vars_wordlets %vars_wordlets_err %vars_wordlets_email %vars_wordlets_img %vars_wordlets_date %template_match $username $password $last_login_dt $session_login_dt $last_login_j $session_login_j $days_prune $LastLoginTime $pubname $user_topic_view $user_number @ubber @login @session $ThisHTML $exact_path @memberslist %in $memlistopen $cache_cookie $forum_threads $summary @alltheforums @allthecategories @memberslist_array %forum_thread_data %ProfileNumber %member_profile $CurrentTab $Hiddens $direct_to $Legend $LoginWording $MainButtonsLine $TableWidth2 $ContactLine $TBT $TBB $Header $Footer $EmailHeader $show_logout $show_logout_noreg $instant_jscript $title_wording %vars_chat %vars_whos_online @tempprofile);
Notice these 3 are INSIDE the parentheses.
MEW, I can close topics in my board 
[ 12-17-2001 02:30 AM: Message edited by: LK ]
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Im having a problem when display categories only is set to on. the problem is with the code that is added to ubb_forum_summary.cgi.
when cat only is on. the cache files are as follows: summary.html - standard (no mystyle) summary of the categories list. summary-1.html - standard (no mystyle) summary of category 1...
the problem occurs when a user with mystyle template 1 views (for the first time after a cache clear) the main summary page, this creates the cache file summary-1.html, but this file is the main listing with template one, not the listing of category one.
this also works in reverse, when a user views forum 1 who does not use mystyle, and then a user using mystyle template 1 views the main summary, they get the summary for forum 1.
seems to be a major problem to me...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Jordo, try to replace '-' with '_' in ubb_lib.cgi and ubb_lib_files.cgi, and then clear your cache.
TXT/MHK files also updated.
[ 12-18-2001 05:11 AM: Message edited by: LK ]
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
*note* this hack doesn't work with mod_log
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by M_E_W: *note* this hack doesn't work with mod_log
Works in my board + qasic's modlog hack 
|
|
|
|
Joined: Jun 2001
Posts: 23
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 23 |
sorry for being thick but what does this mod do ??
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
This hack lets the user choose which style template he/she wants to see...
For example, you have a red scheme and a blue scheme, and half of your users want the red scheme while the other half wants the blue scheme. The best thing to do is just install this hack, make your favorite/half red + half blue the default and let the users choose from their profile.
|
|
|
|
Joined: Jun 2001
Posts: 23
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 23 |
thanks for the swift reply have installed and is wonderful i wonder if you could help me with another hack i installed the memberslist hack and when i view it i get 3 of each member where did i go wrong even when i use the multihack file???
|
|
|
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: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|