PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: Waco, TX

PostPosted: Sat Nov 05, 2005 10:14 am Reply with quote Back to top

I have decide to update aUsTiN's Advanced Username Color 1.0.5 for BBtoNuke.

Only registered users can see links on this board!
Get registered or login to the forums!


aUsTiN has given us permission to update this one. When I have completed the update I will post the details as well as the files in this thread for testing.

NOTE: Updated files are now available for testing. See
Only registered users can see links on this board!
Get registered or login to the forums!
for details.
View user's profile Send private message Yahoo Messenger
duhokame
New Member
New Member


Joined: Jan 12, 2006
Posts: 1

PostPosted: Thu Jan 12, 2006 9:39 am Reply with quote Back to top

Hello

I have downloaded Advanced Username Color And I Updated All Files
this is coming all the time
ERROR!

DEBUG MODE

SQL Error : 1054 Unknown column 'user_color_gi' in 'field list'

UPDATE nuke_users SET user_color_gi = '--0--', user_color_gc = '' WHERE user_id = '2'

Line : 331
File : /home/virtual/site52/fst/var/www/html/modules/Forums/admin/admin_advanced_username_color_m.php

can anybady Help me ? out tell me what to do
Thanks
View user's profile Send private message
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: Waco, TX

PostPosted: Thu Jan 12, 2006 9:51 am Reply with quote Back to top

It sounds like you have not ran the needed SQL

You were supposed to run the following using phpmyAdmin:
Code:

CREATE TABLE `nuke_bbadvanced_username_color` (
  `group_id` int(10) unsigned NOT NULL auto_increment,
  `group_name` varchar(255) NOT NULL default '',
  `group_color` varchar(6) NOT NULL default '',
  `group_weight` smallint(2) NOT NULL default '',
  PRIMARY KEY  (`group_id`)
) TYPE=MyISAM ;

ALTER TABLE nuke_users ADD user_color_gc VARCHAR(6) DEFAULT '';
ALTER TABLE nuke_users ADD user_color_gi TEXT DEFAULT NULL;


Look at your nuke_users table and verify that you have user_color_gi
View user's profile Send private message Yahoo Messenger
aaly
New Member
New Member


Joined: Jan 02, 2006
Posts: 19

PostPosted: Sat Nov 18, 2006 3:10 am Reply with quote Back to top

site is down and I need this mod ? can someone show me an alternative download location
View user's profile Send private message
sam1el
New Member
New Member


Joined: Jul 16, 2008
Posts: 9

PostPosted: Wed Jul 30, 2008 12:56 am Reply with quote Back to top

CurtisH wrote:
It sounds like you have not ran the needed SQL

You were supposed to run the following using phpmyAdmin:
Code:

CREATE TABLE `nuke_bbadvanced_username_color` (
  `group_id` int(10) unsigned NOT NULL auto_increment,
  `group_name` varchar(255) NOT NULL default '',
  `group_color` varchar(6) NOT NULL default '',
  `group_weight` smallint(2) NOT NULL default '',
  PRIMARY KEY  (`group_id`)
) TYPE=MyISAM ;

ALTER TABLE nuke_users ADD user_color_gc VARCHAR(6) DEFAULT '';
ALTER TABLE nuke_users ADD user_color_gi TEXT DEFAULT NULL;


Look at your nuke_users table and verify that you have user_color_gi


been trying to do this for a bit but sql throws this error at me

Code:
#1067 - Invalid default value for 'group_weight'


not sure what else to set it to
View user's profile Send private message
montego
Moderator


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Wed Jul 30, 2008 6:12 am Reply with quote Back to top

Try removing the "default ''" after the "NOT NULL"... Not sure what impact that will have on the script's running. Really depends on how its written.
View user's profile Send private message Visit poster's website
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Wed Oct 29, 2008 2:32 pm Reply with quote Back to top

Anyone know if anything like this is currently out there. I'm looking for the ability to change the color of admin and mod username colors throughout the forums.

I saw a couple on the phpBB site, but it didn't look like they would port over to me.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Thu Oct 30, 2008 5:27 pm Reply with quote Back to top

I have the download. I'll post it for your downloading pleasure.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Thu Oct 30, 2008 5:34 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!
you go. I haven't installed it though.
View user's profile Send private message
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Fri Oct 31, 2008 9:27 am Reply with quote Back to top

Thanks!

Edit* This does work. A little long on the installation, but it works. Make sure to upload the additional files. Smile
View user's profile Send private message
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Fri Oct 31, 2008 8:03 pm Reply with quote Back to top

Ok here's two minor issues that showed up. Maybe someone can help.

The mod works pretty well. I noticed an odd change in the size of the usernames after applying the mod.

Image

The top username with the mod applied has a font size of 11 and the bottom has 12. The modded one should be 12. Here's the source code:

Code:
<span class="name"><a name="11"></a><b><span style="color:#FFA34F" class="gensmall"><b>Kynlore</b></span></b></span>

<span class="name"><a name="12"></a><b>Mikayla</b></span>


I know I need to change it to 12, and probably drop the class, but I'm not sure how it got in there in the first place.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2856

PostPosted: Fri Oct 31, 2008 9:53 pm Reply with quote Back to top

Probably the class "gensmall" is defined as 11px size while the normal is 12px
View user's profile Send private message Visit poster's website
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Sat Nov 01, 2008 9:55 am Reply with quote Back to top

That was it. I found it in the /includes/function.php file, at the very end if someone else is looking to fix that issue.

I want to add one more if someone has the answer:

With this mod I can of course create a group and change their color. I made my admin group and my moderator group match the defaults shown in my forums.

Image

But if I change the group color to red, where is the code to change the [Admistrator] and [Moderator] as shown in the picture?

I searched the style.css file in my theme for the hex code that matches that color, as well as a few other files. I can go through all the files in the directory, but I was hoping someone might know off the top of their head what file I can find that in.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2856

PostPosted: Sat Nov 01, 2008 2:17 pm Reply with quote Back to top

May be defined in Styles in your Forums admin panel
View user's profile Send private message Visit poster's website
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Sat Nov 01, 2008 6:01 pm Reply with quote Back to top

evaders99 wrote:
May be defined in Styles in your Forums admin panel


That does work. I assumed it wouldn't because the subsilver theme isn't used, but apparently it does draw from there. Although it does change the titles on the forum ACP. Wink
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum