Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
#199842 07/03/2003 3:09 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
darn tipsy

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?

Sponsored Links
#199843 07/03/2003 9:21 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 wink *

#199844 07/12/2003 5:57 PM
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?

Code
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..


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#199845 07/12/2003 9:09 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Code
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>');
smile 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.

Code
	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 smile

if you want to see an example of the use of the code, see here .

login: test
password: test

#199846 07/24/2003 12:42 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
haha, I pity anyone trying to read this page tipsy

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

Sponsored Links
#199847 07/24/2003 3:41 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1) why would you want to edit someone's style? tipsy
2) yeah, it could be possible, but you'll have to do it on yourself cause I really haven't got free time smirk

#199848 08/13/2003 1:12 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
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

#199849 08/13/2003 1:21 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#199850 08/13/2003 11:46 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
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?

#199851 08/13/2003 2:06 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

Sponsored Links
#199852 09/27/2003 5:51 PM
Joined: Jul 2003
Posts: 273
Member
Member
Offline
Joined: Jul 2003
Posts: 273
6.6 ?

#199853 09/28/2003 2:57 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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)

#199854 10/08/2003 7:50 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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.

#199855 10/10/2003 2:24 AM
Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
Is Colorforums 6.6 ready to go yet?


-Trekkie
To point, click and boldly go...
#199856 11/19/2003 10:18 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 wink

#199857 01/02/2004 1:34 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
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:
Code
if ($ubb eq 'get_topic' &#0124;&#0124; $ubb eq 'directory' &#0124;&#0124; $ubb eq 'my_profile' &#0124;&#0124; $ubb eq 'get_pm') {
replace with:
Code
if ($ubb eq 'get_topic' &#0124;&#0124; $ubb eq 'directory' &#0124;&#0124; $ubb eq 'my_profile' &#0124;&#0124; $ubb eq 'get_pm' &#0124;&#0124; $ubb eq 'next_topic') {
find:
Code
if ($ubb eq 'get_topic') {
replace with:
Code
if ($ubb eq 'get_topic' &#0124;&#0124; $ubb eq 'next_topic') {
find:
Code
if ($ubb eq 'get_topic' &#0124;&#0124; $ubb eq 'forum' &#0124;&#0124; $ubb =~ /pntf/ &#0124;&#0124; $ubb eq 'directory' &#0124;&#0124; $ubb eq 'get_daily' &#0124;&#0124; $ubb eq 'faq' &#0124;&#0124; $ubb eq 'get_pm') {
replace with:
Code
if ($ubb eq 'get_topic' &#0124;&#0124; $ubb eq 'forum' &#0124;&#0124; $ubb =~ /pntf/ &#0124;&#0124; $ubb eq 'directory' &#0124;&#0124; $ubb eq 'get_daily' &#0124;&#0124; $ubb eq 'faq' &#0124;&#0124; $ubb eq 'get_pm' &#0124;&#0124; $ubb eq 'next_topic') {


Do you believe in love at first sight,
or should I walk by again?
#199858 01/02/2004 7:04 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
this is fixed in the 6.7 version

#199859 02/04/2004 5:40 AM
Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
Any word on the release date now that 6.7 is final?


-Trekkie
To point, click and boldly go...
#199860 02/04/2004 8:24 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
it's been out for 12 hours, give me a chance *sheesh*

#199861 02/04/2004 1:36 PM
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? tipsy


- Allen wavey
- What Drives You?
#199862 02/05/2004 12:17 AM
Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
I really, really wanna upgrade to 6.7 asap.


-Trekkie
To point, click and boldly go...
#199863 03/01/2005 3:02 PM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 24
How can I add a gradient without adding a style sheet?

#199864 03/01/2005 6:31 PM
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.


- Allen wavey
- What Drives You?
#199865 03/02/2005 6:56 AM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
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!

#199866 03/02/2005 2:23 PM
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.


- Allen wavey
- What Drives You?
#199867 03/02/2005 2:45 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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

#199868 03/02/2005 3:50 PM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
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.

#199869 03/02/2005 4:03 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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!

#199870 03/02/2005 6:28 PM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
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:

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

#199871 03/02/2005 6:48 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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.

#199872 03/04/2005 12:37 PM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 24
Thanks, Ian. It's looking good.

#199873 02/23/2006 11:12 PM
Joined: Jun 2003
Posts: 60
Member
Member
Offline
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
Code
 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
#199874 02/25/2006 9:36 PM
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


- Allen wavey
- What Drives You?
#199875 02/28/2006 1:35 PM
Joined: Jun 2003
Posts: 60
Member
Member
Offline
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
#199876 02/28/2006 7:32 PM
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?


- Allen wavey
- What Drives You?
#199877 03/01/2006 10:57 AM
Joined: Jun 2003
Posts: 60
Member
Member
Offline
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
Page 3 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)