|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
darn zip file updated with a newer version of public_ci_members.pl... can you upload it and let me know if it works for you?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
works fine. one thing you might want to add to the css files are font versions of the classes. ie. [code][/code]that'll fix any mixups anyone gets when using gradient backgrounds. EDIT: *Off Topic: Oooh, so that's why  *
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
LK, I'm trying to port a version of the Quick Reply mod to work with this mod... but I keep running into snag's! Have any time to help by chance? document.write('<form name="replier" method="post" action="$vars_config{CGIURL}/ultimatebb.cgi"> <input type="hidden" name="ubb" value="submit_new_reply" /><input type="hidden" name="f" value= "$forum_number" /><input type="hidden" name="t" value="$topic_number" /><table border="0" cell padding="1" cellspacing="1" width="$vars_style{TableWidth}" align="center"><tr bgcolor="$vars_ style{TableBorderColor}"><td><table border="0" width="100%" cellpadding="3" cellspacing="0"><t r bgcolor="$vars_style{TableColorStrip}"><td colspan="2"><font size="$vars_style{TextSize}" fa ce="$vars_style{FontFace}" color="$vars_style{TableStripTextColor}"><b>$vars_wordlets_mods{Qui ckReply}</b></font></td></tr><tr bgcolor="$vars_style{AltColumnColor1}"><td valign="top" width ="18%"><b>$vars_wordlets_mods{QRMessage}</b>
<font size="1" color="$vars_style{Visi tedLinkColor}">$is_html <a href="$ULTIMATEBB?ubb=ubb_code_page" target="_blank">$is_ubb</ a>
</font><input type="checkbox" name="Signature" id="Signature" value="yes" checke d="checked" /><font size="1">$vars_wordlets_mods{ShowSig} <input type="checkbox" id="disa ble_smilies" name="disable_smilies" value="yes" />$vars_wordlets_mods{QRSmilies}</font></td><t d><textarea name="message" rows="10" cols="50" wrap="virtual"></textarea>
<input t ype="submit" name="submit" value="$vars_wordlets{submit_new_reply}" /> $preview_button</td></t r>$TBB_js</form>'); Is the mess :x... Edited by LK: problem with [code] to make the page ugly..
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
document.write('<form name="replier" method="post" action="$vars_config{CGIURL}/ultimatebb.cgi"><input type="hidden" name="ubb" value="submit_new_reply" /> <input type="hidden" name="f" value="$forum_number" /><input type="hidden" name="t" value="$topic_number" /><table width="$vars_style{TableWidth}" cellspacing="1" align="center"> <tr><td><table class="tableborders" width="100%" cellpadding="3" cellspacing="1"><tr class="tdheader"> <td colspan="2"><b>$vars_wordlets_mods{QuickReply}</b></font></td></tr><tr class="lighttable"><td width="100%"><table width="100%"><tr><td valign="top" width="18%"> <b>$vars_wordlets_mods{QRMessage}</b>
<font class="visited small">$is_html <a href="$ULTIMATEBB?ubb=ubb_code_page" target="_blank">$is_ubb</a>
</font> <input type="checkbox" name="Signature" id="Signature" value="yes" checked="checked" /> <font class="visited small">$vars_wordlets_mods{ShowSig} <input type="checkbox" id="disable_smilies" name="disable_smilies" value="yes" /> $vars_wordlets_mods{QRSmilies} </font></td><td><textarea class="normal" name="message" rows="10" cols="50" wrap="virtual"></textarea>
<input type="submit" name="submit" value="$vars_wordlets{submit_new_reply}" /> $preview_button</td></tr></td></tr></table>$TBB_js</form>');  I used some of the code from UBBDEV to get it to look right also, use this code instead of the stock code to get a "qdown" image to go with each skin. function quotedown (quote) { if(ubber_cookie_array[13] != '0' && ''!=user_cookie && null!=user_cookie) { document.write('<a href="javascript:return false;" onclick="insertAtCaret(document.replier.message, \''+quote+'\'); document.replier.message.focus(); return false;"> <img border="0" src="$vars_config{NonCGIURL}/graphics/'+style+'/qdown.gif" alt="$vars_wordlets_mods{QRWQuote}" /></a> '); } return true; } btw: the first code I showed was only one line, added breaks to stop stretching the page. on the second one, the writeln part was all one line if you want to see an example of the use of the code, see here . login: test password: test
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
haha, I pity anyone trying to read this page LK, is there anyway to get the style choice to be editable in cp_edit_profile.pl? It would be nice for that. Also, how about being able to search in the directory for anyone using a certain style, nice to combine these incase we ever need to remove a style
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1) why would you want to edit someone's style? 2) yeah, it could be possible, but you'll have to do it on yourself cause I really haven't got free time 
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
question: with this CSS style templates, I understand u can change them in ur profile, but can u make it so that when u update it in ur profile, it updates ur homepage as well?
I dunno, I saw it on ubbdev.com. U can like change it to blue, and the whole homepage turns blue. Its pretty sweet
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it's stored in a cookie, so if you know how to call a cookie in an html page, you could just have it use the same code as in the public_common.pl
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
is there anything like that for 6.3? I mean a colorforms hack, or a hack where the user can change his/her template?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well there is the MyStyle hack, but that ruins the cache because it doesn't use css, thus must rerender the page for every viewer. Theoretically there was a 6.3 version which was never released, it was only used by ubbdev
|
|
|
|
Joined: Jul 2003
Posts: 273
Member
|
Member
Joined: Jul 2003
Posts: 273 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
hehe... we're using 6.6 colorforums here.. but we have a problem (check all Forum Pages, scroll down to the bottom, you see "Powered by:" is huge.. and sometimes also javascript problems in that page)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey LK, any chance for the 6.7 Colorforums to have the preview not change your cookies? ie, create a public_style_preview.pl, and have it change with the skin, so that people aren't confused when there skin is Frost, but their profile says Khaki.
|
|
|
|
Joined: May 2001
Posts: 27
Junior Member
|
Junior Member
Joined: May 2001
Posts: 27 |
Is Colorforums 6.6 ready to go yet?
-Trekkie To point, click and boldly go...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Just some information for those waiting for a 6.6 version, it's not coming. I'm taking over the mod in 6.7, and already have some nice features added(or being added) - A new preview skin page, which doesn't mess with your cookies, and will give you a better preview overall of the skin [ Preview ]
- CP Integration, giving you the ability to choose which images change with the styles, and which don't without having to open a template.
- You will also be able to override a user's choice, so that on Holidays everyone will see that tacky Green and Red style instead of the one they chose.
- Also, you will be able to set the default style for those unregistered or that have not chosen a style.
I also plan on releasing a Compact Headers version for the 1 site that would use it 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
ok here is a fix found by LK to display the images when using previous/next buttons (if the page is not in the cache you will be missing most of them) in public_common find: if ($ubb eq 'get_topic' || $ubb eq 'directory' || $ubb eq 'my_profile' || $ubb eq 'get_pm') { replace with: if ($ubb eq 'get_topic' || $ubb eq 'directory' || $ubb eq 'my_profile' || $ubb eq 'get_pm' || $ubb eq 'next_topic') { find: if ($ubb eq 'get_topic') { replace with: if ($ubb eq 'get_topic' || $ubb eq 'next_topic') { find: if ($ubb eq 'get_topic' || $ubb eq 'forum' || $ubb =~ /pntf/ || $ubb eq 'directory' || $ubb eq 'get_daily' || $ubb eq 'faq' || $ubb eq 'get_pm') { replace with: if ($ubb eq 'get_topic' || $ubb eq 'forum' || $ubb =~ /pntf/ || $ubb eq 'directory' || $ubb eq 'get_daily' || $ubb eq 'faq' || $ubb eq 'get_pm' || $ubb eq 'next_topic') {
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
this is fixed in the 6.7 version
|
|
|
|
Joined: May 2001
Posts: 27
Junior Member
|
Junior Member
Joined: May 2001
Posts: 27 |
Any word on the release date now that 6.7 is final?
-Trekkie To point, click and boldly go...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
it's been out for 12 hours, give me a chance *sheesh*
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
what were you waiting for? 
|
|
|
|
Joined: May 2001
Posts: 27
Junior Member
|
Junior Member
Joined: May 2001
Posts: 27 |
I really, really wanna upgrade to 6.7 asap.
-Trekkie To point, click and boldly go...
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
How can I add a gradient without adding a style sheet?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
It's possible, but you'll need to edit the TBT sub in public_common.pl to use the gradient image.
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
Allen, thanks for your feedback. I still couldn't figure it out. By the way, I'm using version 6.7. Could you post a clip of the code so I know where to put it? Also, is public_common.pl the only file I need to modify?
Thanks!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
TBT will cover most places you might want the image, anywhere else wil be a matter of your preference.
I'm not at home, so I don't have code to post, but it's in:
sub TBT {
in public_common.pl and adding the background image in that table there would be the same html code you'd use for any plain html page.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hussein, do you want the borders to be the gradient, or something like http://www.ianspence.com/cgi-bin/ultimatebb.cgi , where the gradient is behind the text
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
Ian, I want it exactly like your site. I want the gradient behind the text exactly as you have done. I know that it is just a matter of including the gradient image as a background for the table cell, but I couldn't figure out where to put the code.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In your noncgi folder, there will be a folder called Styles
in there will be files. open them, and find the line that starts
q!TableColorStrip!
edit that line to be something like
q!TableColorStrip! => q~#000000" style="background-image: url('/grad1.gif');~
This will get undone when you edit styles in the CP, so remember how to do this.
you can do something similar for the line starting q!CategoryStripColor!
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
Guys, sorry to divert the topic away from the Colorforums discussion, but I'm close to getting my layout to look the way I want. Ian, I was only able to get the gradient to appear in the row that displays the recent visitors. I used the following code: q!TableColorStrip! => q!#003743" background="grad.gif"!, However, for CategoryStripColor, I tried the code you listed but it needs some tweaking. Here is my page for your reference: http://www.netmuslims.com/bboards/ultimatebb.cgi I appreciate all of your help. Regards, Hussein
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
instead of using background-image, try to use background. that should override the color specified and give you the gradient.
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
Thanks, Ian. It's looking good.
|
|
|
|
Joined: Jun 2003
Posts: 60
Member
|
Member
Joined: Jun 2003
Posts: 60 |
I am trying to create a gradient for the Table Color Strip. I get the same results that Hussein got in the above posts (only the recent visitors table strip has a gradient), the other headers are #777777 in color, which is in the code, but I'm confused as to overiding it as Ian mentioned above. After downloading the appropriate Vars file I modified the q!TableColorStrip! option. The code I entered is below q!TableColorStrip! => q!#777777" qq~ style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#00aa00', startColorstr='#003300', gradientType='0');"~!, I've tried a few different permutations of that code as well as Ian's suggestions above but with the same results. I am clearing the cache on the UBB every time I test a new Vars file as well. Website I'm supporting is: http://www.technicalblog.org/tech/ultimatebb.cgi UBB 6.7.2 Guest login: Username: guest Password: 7PKZ64 Any ideas, thanks!
REaMERE
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
what about removing the qq~ ~ from around the style tag? I see it in the source
|
|
|
|
Joined: Jun 2003
Posts: 60
Member
|
Member
Joined: Jun 2003
Posts: 60 |
Same results. Maybe I am missing something else in the code? Also, I deleted the old Vars, uploaded the new, set changed mode to 777, cleared the UBB cache, and cleared my browser cache. Perhaps I am missing something, I tend to skip the obvious... Another thought, perhaps the only way to do this is to create an actual image, and use that instead of the gradient option?
REaMERE
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
the image should work, I am wondering if the gradient only works in td's and not table's tho. Possibly the color noted in the td's is overriding the gradient set in the table that holds the td's. What does it look like in firefox?
|
|
|
|
Joined: Jun 2003
Posts: 60
Member
|
Member
Joined: Jun 2003
Posts: 60 |
Okay, so use an image created in Fireworks (etc...) instead of the Microsoft.gradient. I guess that is what they were talking about in the above posts.
I had never looked at the site with Firefox, i never knew that it changes the look of the site a lot. Seems it doesn't like the gradients, and has trouble with background images for tables.
I'll try the graphic and see what happens. Thanks!
REaMERE
|
|
|
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
|
|
|
|