Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-21-2003, 10:32 AM   #1 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
links

seriously, it's time to change the forum link colors. it's difficult to spot linked text without mousing over. here's a diff for your convenience:

PHP Code:
A:linkA:visitedA:active {
font-family"Verdana""Tahoma""Helvetica""Arial"sans-serif;
    
text-decorationnone;
-    
COLOR#000020;
+    COLOR#cc0000;
}
A:hover {
    
COLOR#FF4400;
    
text-decorationnone;
font-family"Verdana""Tahoma""Helvetica""Arial"sans-serif;

joe_bruin is offline   Reply With Quote
Old 02-21-2003, 11:22 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
the only problem with changing the link colors, is that almost everything is included in that aspect of the style sheet.

vbulletin does not use 2 different parameters for the 'post' link color and the rest of the sight.

as a result, if i change the link color to red, then all the forum categories would be red .. then, all the thread links would be red ..

very ugly indeed.

i have to go in and re-program some of the text parsing to include the use of [SHELL] again, .. so i'll probably be able to force post links to be a different color.

for now, i made all the links dark blue #003366

thanks for the feedback.
sde is offline   Reply With Quote
Old 02-21-2003, 11:29 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
ah, i couldn't stand so much blue text .. i changed it to dark gray for now .. hopefully i can fix this.
sde is offline   Reply With Quote
Old 02-21-2003, 11:43 AM   #4 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
this is untested, but will probably do it.

PHP Code:
--- functions.php       Mon Jun  3 15:35:15 2002
+++ functions.new.php   Fri Feb 21 12:16:24 2003
@@ -684,10 +684,10 @@
           
"<ol type=\"\\5\">\\7</ol>",
           
"<ul>\\4</ul>",
           
"<li>",
-          
"<a href=\"http://www.\\6\" target=\"_blank\">\\8</a>",
-          
"<a href=\"\\5\" target=\"_blank\">\\7</a>",
-          
"<a href=\"http://www.\\5\" target=\"_blank\">\\5</a>",
-          
"<a href=\"\\4\" target=\"_blank\">\\4</a>",
+          
"<a class=\"postlink\" href=\"http://www.\\6\" target=\"_blank\">\\8</a>",
+          
"<a class=\"postlink\" href=\"\\5\" target=\"_blank\">\\7</a>",
+          
"<a class=\"postlink\" href=\"http://www.\\5\" target=\"_blank\">\\5</a>",
+          
"<a class=\"postlink\" href=\"\\4\" target=\"_blank\">\\4</a>",
           
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre></blockquote><normalfont>",
           
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre></blockquote><normalfont>",
           
"java script:",
@@ -
2316,+2316,@@
   
register_shutdown_function("doshutdown");
 } 
joe_bruin is offline   Reply With Quote
Old 03-04-2003, 03:57 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
i did try this, but couldn't get it working .. i even forced font tags in between the <a> tags </a> and it didn't work.

i'll look into it more later.
sde is offline   Reply With Quote
Old 03-05-2003, 12:49 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
editing the parsing part of the bbcodeparse() function did not work, .. however i just added a simple line of code at the end of the function to do the same thing:
PHP Code:
$bbcode=str_replace("<a href","<a class=post href",$bbcode); 
w00t .. there's your red links joe =)
sde is offline   Reply With Quote
Old 03-05-2003, 12:57 PM   #7 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
testing
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 03-05-2003, 01:01 PM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
Quote:
Originally posted by Admin
testing
yeah yeah yeah, .. we all know you are just spamming your site!
sde is offline   Reply With Quote
Old 03-05-2003, 02:35 PM   #9 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
kickass!
joe_bruin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Links sde Lounge 3 04-13-2004 04:17 PM
links joe_bruin Feedback 2 12-30-2003 10:36 AM
Radio royalties: the ticking timebomb under the RIAA redhead Code Newbie News 2 07-30-2003 08:15 PM
symbolic links on an NFS mount? Admin Linux / BSD / OS X 1 01-17-2003 06:35 AM
links sde Linux / BSD / OS X 2 01-05-2003 07:57 AM


All times are GMT -8. The time now is 08:24 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting