2
   

Search Engine Optimization & Color Groups phpBB

 
 
Reply Sat 9 Dec, 2006 03:19 am
Hi,

I really wanted to try Search Engine Optimization on my forums because it looks like a great tool but when I got to this part :

Quote:
#
#-----[ FIND ]------------------------------------------
#

'<a>' . $forum_data[$j]['username'] . '</a> ';

#
#-----[ REPLACE WITH ]------------------------------------
#

$forum_data[$j]['username'];

#


I couldn't because when I installed color group it said to:

Quote:

#
#-----[ FIND ]------------------------------------------
#
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a>' . $forum_data[$j]['username'] . '</a> ';

#
#-----[REPLACE WITH ]------------------------------------------
#
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : color_group_colorize_name($forum_data[$j]['user_id']);
#


How do I get about to use both hacks at the same time?

thanks for your help

Regards

Mick
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 1,796 • Replies: 2
No top replies

 
confusio
 
  1  
Reply Sat 9 Dec, 2006 11:38 pm
Ok I fixed the problem by uninstalling color groups( cause i think having good seo ranking is better than colored names) but now I'm getting this error where I'm not logged in and try to view a forum:
Not Found

The requested URL /forums/forum-2.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

But when Im logged in and try to view the same forum it works and goes str8 to this url and works: /forums/viewforum.php?f=2

same happens with about-2,I dont know what it could be but I think it might be a clash with the Easy Sub Forums Mod. They both have to edit the same line on the index.php where it asks to replace one line with:



Code:/*
$last_post .= '<a><img></a>';
*/


Easy Sub Forums asks to replace it with:

Code:// Modified by Easy Sub-Forums MOD

if (strlen($forum_data[$j]['topic_title'])>=25)
{
$forum_data[$j]['topic_title']=substr($forum_data[$j]['topic_title'],0,25). "...";
}

$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);

$last_post = '' . $last_post_time . '' . '<br>';

$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a>' . $forum_data[$j]['username'] . '</a> <a><img></a>';
// END Modified by Easy Sub-Forums MOD


I ended up putting:

Quote:
if (strlen($forum_data[$j]['topic_title'])>=25)
{
$forum_data[$j]['topic_title']=substr($forum_data[$j]['topic_title'],0,25). "...";
}

$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);

$last_post = '' . $last_post_time . '' . '<br>';

$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a>' . $forum_data[$j]['username'] . '</a> <a><img></a>';
// END Modified by Easy Sub-Forums MOD

/*
$last_post .= '<a><img></a>';
*/


could anyone please help me? Sad

Thanks
0 Replies
 
PuneetSeo
 
  1  
Reply Sat 3 Feb, 2007 12:55 am
Hi there,

I too dont know the answer but i think u have to solve your problem by asking your quesries on another forum "too" so that you dont have to wait so much time...


Regards
Puneet M
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Search Engine Optimization & Color Groups phpBB
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/19/2025 at 10:03:12