 | Colour Groups |  |
Posted: 10/12/2006 3:54 PM |
|
|
|
|
|
| Hawk |
| Posts |
178 |
| Word Cnt. |
4,784 |
| BDay |
Mar 26 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Oct 28, 2005
Local time: 6:44 PM
Location: New Zealand
|

|
|
|
|
 |
| I have a colour groups mod, if you look at Mummybrain, you can see it down the bottom, the supports are shown in a different colour. However, i have the last visitors in the last 24 hours installed, and this doesn't show as a different colour. How could i add it there, so that it shows in different colours too? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/13/2006 2:20 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:44 AM
Location: St Pete, FL
|

|
|
|
|
 |
I tried to log into your FTP Server to retrieve the MOD script but I couldn't get logged in. So I need a link to the MOD download. I also probably need text links to your index.php and index_body.tpl files. I may also need text links to your usercp_register.php and page_header.php files...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/13/2006 2:32 AM |
|
|
|
|
|
| Hawk |
| Posts |
178 |
| Word Cnt. |
4,784 |
| BDay |
Mar 26 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Oct 28, 2005
Local time: 6:44 PM
Location: New Zealand
|

|
|
|
|
 |
I've changed hosts since you had all the details, that's why
How do i give you links to the text files of index.php etc? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/13/2006 2:56 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:44 AM
Location: St Pete, FL
|

|
|
|
|
 |
Creating text Links for phpBB files
First create a duplicate of the phpBB file on your PC, then rename the file by adding .txt to the end of the file name. Next upload the file to a location on your FTP Server accessible to the public and provide a link back here for us to analyze it...
The path to your file could look something like this now if you were providing a text link to your posting.php file:
| Code:
|
|
http://yourdomain.com/downloads_folder/posting.php.txt
|
|
|
Last edited by Nightrider on 10/14/2006 11:01 PM; edited 2 times in total |
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/13/2006 3:16 AM |
|
|
|
|
|
| Hawk |
| Posts |
178 |
| Word Cnt. |
4,784 |
| BDay |
Mar 26 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Oct 28, 2005
Local time: 6:44 PM
Location: New Zealand
|

|
|
|
|
 |
http://www.mummybrain.com/phpBB/nr/
I couldn't remember where usercp_register.php and page_header.php are, so haven't included them, if you do need them please let me know where they are. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/13/2006 3:49 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:44 AM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, as expected, I will need to see text links to your page_header.php and usercp_register.php files which are located in your includes folder...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/14/2006 6:37 PM |
|
|
|
|
|
| Hawk |
| Posts |
178 |
| Word Cnt. |
4,784 |
| BDay |
Mar 26 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Oct 28, 2005
Local time: 6:44 PM
Location: New Zealand
|

|
|
|
|
 |
I have put those in that folder for you too  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/14/2006 10:52 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:44 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, you can try this:
OPEN
includes/page_header.php
FIND
| Code:
|
if ( $row['user_allow_viewonline'] )
{
$user_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$visible_lastvisit_users++;
}
else
{
$user_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$hidden_lastvisit_users++;
}
|
REPLACE WITH
| Code:
|
if ( $row['user_allow_viewonline'] )
{
$user_link = color_group_colorize_name($row['user_id'], true);
$visible_lastvisit_users++;
}
else
{
$user_link = color_group_colorize_name($row['user_id'], true);
$hidden_lastvisit_users++;
}
|
Save and upload back to your includes folder. Be sure to create a backup of the file before you overwrite it, just in case...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/14/2006 11:03 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:44 AM
Location: St Pete, FL
|

|
|
|
|
 |
I don't know why this topic is messing up but it seems to have combined two messages together and dropped a couple of others. The topic is displaying properly in Preview though, so I'm confused about this problem...
Ok, you can try this:
OPEN
includes/page_header.php
FIND
| Code:
|
if ( $row['user_allow_viewonline'] )
{
$user_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$visible_lastvisit_users++;
}
else
{
$user_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$hidden_lastvisit_users++;
}
|
REPLACE WITH
| Code:
|
if ( $row['user_allow_viewonline'] )
{
$user_link = color_group_colorize_name($row['user_id'], true);
$visible_lastvisit_users++;
}
else
{
$user_link = color_group_colorize_name($row['user_id'], true);
$hidden_lastvisit_users++;
}
|
Save and upload back to your includes folder. Be sure to create a backup of the file before you overwrite it, just in case...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Colour Groups |  |
Posted: 10/16/2006 12:40 AM |
|
|
|
|
|
| Hawk |
| Posts |
178 |
| Word Cnt. |
4,784 |
| BDay |
Mar 26 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Oct 28, 2005
Local time: 6:44 PM
Location: New Zealand
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|