|
|
|
|
Joined: Jul 2006
Posts: 117 Likes: 4
Member
|
|
Member
Joined: Jul 2006
Posts: 117 Likes: 4 |
Well, I was going through the main scripts/templates in the meantime and optimized them for search engines. Theoretically, search engines should index the pages much better with all those changes. Here is what I have done so far: scripts/cfrm.inc.phpReplace: $lastpost = "<img src=\"{$config['BASE_URL']}/images/{$style_array['icons']}/$Icon\" alt=\"*\" /> <a href=\"{$config['FULL_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}$linker{$var_sep}Number{$var_eq}$lastnumber{$var_sep}Main{$var_eq}$lastmain{$var_extra}#Post$lastnumber\"> $Subject</a>";with: $lastpost = "<img src=\"{$config['BASE_URL']}/images/{$style_array['icons']}/$Icon\" alt=\"*\" /> <a href=\"{$config['FULL_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}$linker{$var_sep}Number{$var_eq}$lastnumber{$var_sep}Main{$var_eq}$lastmain{$var_extra}#Post$lastnumber\" rel=\"nofollow\"> $Subject</a>"; templates/default/cfrm.inc.phpReplace: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}postlist{$var_sep}Board{$var_eq}{$forum[cats][fora].Keyword}">with: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}postlist{$var_sep}Board{$var_eq}{$forum[cats][fora].Keyword}{$var_sep}page{$var_eq}1"> scripts/postlist.inc.phpReplace:
$midprint = "";
if ($pages !=1) {
$pageprint = " <br /><span class=\"small\">( <img style=\"vertical-align: middle;\" src=\"{$config['BASE_URL']}/images/{$style_array['general']}/page.gif\" alt=\"\" title=\"\" /> ";
for ($prints = 1; $prints < ($pages + 1 ); $prints++) {
if ($pages > 9) {
if ( ($prints < 5) || ($prints > ($pages - 2) ) ) {
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}$prints\">$prints</a> ";
}
else {
if (!$midprint) {
$half = ($pages +1) / 2;
@list($plink,$extra) = @split("\.",$half);
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Post_ID{$var_eq}$Number{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$plink{$var_sep}fpart{$var_eq}$prints\">...</a> ";
$midprint = 1;
}
}
}
else {
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}$prints\">$prints</a> ";
}
}
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}all{$var_sep}gonew{$var_eq}1#UNREAD\">{$ubbt_lang['TEXT_ALL']}</a> )</span>";
}with: $midprint = "";
if ($pages !=1) {
$pageprint = " <br /><span class=\"small\">( <img style=\"vertical-align: middle;\" src=\"{$config['BASE_URL']}/images/{$style_array['general']}/page.gif\" alt=\"\" title=\"\" /> ";
for ($prints = 1; $prints < ($pages + 1 ); $prints++) {
if ($pages > 9) {
if ( ($prints < 5) || ($prints > ($pages - 2) ) ) {
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}$prints\">$prints</a> ";
}
else {
if (!$midprint) {
$half = ($pages +1) / 2;
@list($plink,$extra) = @split("\.",$half);
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Post_ID{$var_eq}$Number{$var_sep}page{$var_eq}$plink{$var_sep}fpart{$var_eq}$prints\">...</a> ";
$midprint = 1;
}
}
}
else {
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}$prints\">$prints</a> ";
}
}
$pageprint .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}$Post_ID{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page{$var_sep}fpart{$var_eq}all{$var_sep}gonew{$var_eq}1#UNREAD\" rel=\"nofollow\">{$ubbt_lang['TEXT_ALL']}</a> )</span>";
}and: $Username = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$posterid\">$PUsername</a>";with: $Username = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$posterid\" rel=\"nofollow\">$PUsername</a>";and: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\">{$moderator[$modarray[$i]]}</a>";with: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\" rel=\"nofollow\">{$moderator[$modarray[$i]]}</a>"; templates/default/postlist.tplReplace: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}">with: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}" rel="nofollow">and: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}{$mode}{$var_sep}Number{$var_eq}{$postrow[topic].Number}{$var_sep}an{$var_eq}{$postrow[topic].announce}{$var_sep}page{$var_eq}{$page}{$postrow[topic].goto}">{$postrow[topic].Subject}</a>with: {if $postrow[topic].announce}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}{$mode}{$var_sep}Number{$var_eq}{$postrow[topic].Number}{$var_sep}an{$var_eq}{$postrow[topic].announce}{$var_sep}page{$var_eq}{$page}{$postrow[topic].goto}">{$postrow[topic].Subject}</a>
{else}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}{$mode}{$var_sep}Number{$var_eq}{$postrow[topic].Number}{$var_sep}page{$var_eq}{$page}{$postrow[topic].goto}">{$postrow[topic].Subject}</a>
{/if}and: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}{$mode}{$var_sep}Number{$var_eq}{$postrow[topic].lastpostid}#Post{$postrow[topic].lastpostid}">{$postrow[topic].time}</a>
<br />
{$lang.TEXT_BY}
{if $postrow[topic].lastposterid != 1}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showprofile{$var_sep}User{$var_eq}{$postrow[topic].lastposterid}">{$postrow[topic].lastpostername}</a>with: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}{$mode}{$var_sep}Number{$var_eq}{$postrow[topic].lastpostid}#Post{$postrow[topic].lastpostid}" rel="nofollow">{$postrow[topic].time}</a>
<br />
{$lang.TEXT_BY}
{if $postrow[topic].lastposterid != 1}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showprofile{$var_sep}User{$var_eq}{$postrow[topic].lastposterid}" rel="nofollow">{$postrow[topic].lastpostername}</a>and: {if $newtopic == 1}
<a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}">
{/if}with: {if $newtopic == 1}
<a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}" rel="nofollow">
{/if} scripts/showflat.inc.phpReplace: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\">{$moderator[$modarray[$i]]}</a>";with: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\" rel=\"nofollow\">{$moderator[$modarray[$i]]}</a>";and: $prevlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showflat{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}new{$var_sep}posted{$var_eq}$posted{$var_sep}page{$var_eq}$page\">";
$prevlinkstop = "</a>";
$linktext = $ubbt_lang['INDEX_ICON'];
$alttext = $ubbt_lang['ALL_THREADS'];
$nextlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showflat{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}old{$var_sep}posted{$var_eq}$posted{$var_sep}page{$var_eq}$page\">";with: $prevlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showflat{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}new{$var_sep}posted{$var_eq}$posted{$var_sep}page{$var_eq}$page\" rel=\"nofollow\">";
$prevlinkstop = "</a>";
$linktext = $ubbt_lang['INDEX_ICON'];
$alttext = $ubbt_lang['ALL_THREADS'];
$nextlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showflat{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}old{$var_sep}posted{$var_eq}$posted{$var_sep}page{$var_eq}$page\" rel=\"nofollow\">";and: $popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$usernum\">{$ubbt_lang['VIEW_PROFILE']}</a></td></tr>";
if ($accept_pm) {
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=sendprivate&User=$usernum\">{$ubbt_lang['SEND_PM']}</a></td></tr>";
} // end if
if ($homepage) {
$homepage = "http://$homepage";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"$homepage\" target=\"_blank\">{$ubbt_lang['VIEW_HOME']}</a></td></tr>";
} // end if
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=addfavuser&User=$usernum&n=$Number&p=$page&f=$fpart\">$watch_text</a></td></tr>";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=dosearch&Forum=All_Forums&Name=$usernum&Limit=25&fromprof=1&fromsearch=1\">{$ubbt_lang['VIEW_POSTS']}</a></td></tr>";with: $popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$usernum\" rel=\"nofollow\">{$ubbt_lang['VIEW_PROFILE']}</a></td></tr>";
if ($accept_pm) {
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=sendprivate&User=$usernum\" rel=\"nofollow\">{$ubbt_lang['SEND_PM']}</a></td></tr>";
} // end if
if ($homepage) {
$homepage = "http://$homepage";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"$homepage\" target=\"_blank\">{$ubbt_lang['VIEW_HOME']}</a></td></tr>";
} // end if
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=addfavuser&User=$usernum&n=$Number&p=$page&f=$fpart\" rel=\"nofollow\">$watch_text</a></td></tr>";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=dosearch&Forum=All_Forums&Name=$usernum&Limit=25&fromprof=1&fromsearch=1\" rel=\"nofollow\">{$ubbt_lang['VIEW_POSTS']}</a></td></tr>";and: $postrow[$i]['replylinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showflat&fpart=$fpart\">";
$postrow[$i]['replylinkstop'] = "</a>";
$postrow[$i]['quotelinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showflat&fpart=$fpart&q=1\">";with: $postrow[$i]['replylinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showflat&fpart=$fpart\" rel=\"nofollow\">";
$postrow[$i]['replylinkstop'] = "</a>";
$postrow[$i]['quotelinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showflat&fpart=$fpart&q=1\" rel=\"nofollow\">";and: <a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=mailthread&Board=$Board&Number=$Number&page=$page&fpart=$fpart&what=showflat\">";
}
$postrow[$i]['notifylinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=notifymod&Board=$Board&Number=$Number&page=$page&fpart=$fpart&what=showflat\”>";with: <a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=mailthread&Board=$Board&Number=$Number&page=$page&fpart=$fpart&what=showflat\" rel=\"nofollow\">
";
}
$postrow[$i]['notifylinkstart'] = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=notifymod&Board=$Board&Number=$Number&page=$page&fpart=$fpart&what=showflat\" rel=\"nofollow\">";and: $postrow[$rownum]['replyto'] = "[Re: <a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[$rownum]['ParentPost']}{$var_sep}page{$var_eq}$page#Post{$postrow[$rownum]['ParentPost']}\" target=\"_new\" title=\"[Re: #{$postrow[$rownum]['ParentPost']}]\" alt=\"[Re: #{$postrow[$rownum]['ParentPost']}]\"> {$parentarray[$rowparent]}</a>]";with: $postrow[$rownum]['replyto'] = "[Re: <a href=\"$page#Post{$postrow[$rownum]['ParentPost']}\" target=\"_new\" title=\"[Re: #{$postrow[$rownum]['ParentPost']}]\" alt=\"[Re: #{$postrow[$rownum]['ParentPost']}]\"> {$parentarray[$rowparent]}</a>]";and: <span class="small"><a href="$newlink">{$ubbt_lang['JUMP_UNREAD']}</a></span>with: <span class="small"><a href="$newlink" rel="nofollow">{$ubbt_lang['JUMP_UNREAD']}</a></span> templates/default/showflat.tplReplace: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$first_post}">with: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$first_post}" rel="nofollow">and: <a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$postrow[post].Number}#Post{$postrow[post].Number}"><img border="0" src="{$config.BASE_URL}/images/{$style_array.icons}/{$postrow[post].Icon}" {$images.icons} alt="" /></a>with: <a href="#Post{$postrow[post].Number}"><img border="0" src="{$config.BASE_URL}/images/{$style_array.icons}/{$postrow[post].Icon}" {$images.icons} alt="" /></a>and: <tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$first_post}">{$lang.NEW_REPLY}</a></td></tr>
{/if}
{if $reply == "on"}
<tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}">{$lang.NEW_TOPIC}</a></td></tr>
{/if}
{$addfavoption}
<tr><td class="popup_menu_content"><a target="_blank" href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}printthread{$var_sep}Board{$var_eq}{$Board}{$var_sep}main{$var_eq}{$current}{$var_sep}type{$var_eq}thread">{$lang.PRINT_THREAD}</a></td></tr>
{if $config.TOPIC_DISPLAY_OPTIONS == "both" }
<tr><td class="popup_menu_content">
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showthreaded{$var_sep}Number{$var_eq}{$threadnumber}{$var_sep}an{$var_eq}{$an}{$var_sep}page{$var_eq}{$page}">with: <tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$first_post}" rel="nofollow">{$lang.NEW_REPLY}</a></td></tr>
{/if}
{if $reply == "on"}
<tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}" rel="nofollow">{$lang.NEW_TOPIC}</a></td></tr>
{/if}
{$addfavoption}
<tr><td class="popup_menu_content"><a target="_blank" href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}printthread{$var_sep}Board{$var_eq}{$Board}{$var_sep}main{$var_eq}{$current}{$var_sep}type{$var_eq}thread" rel="nofollow">{$lang.PRINT_THREAD}</a></td></tr>
{if $config.TOPIC_DISPLAY_OPTIONS == "both" }
<tr><td class="popup_menu_content">
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showthreaded{$var_sep}Number{$var_eq}{$threadnumber}{$var_sep}an{$var_eq}{$an}{$var_sep}page{$var_eq}{$page}" rel="nofollow"> scripts/showthreaded.inc.phpReplace: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\">{$moderator[$modarray[$i]]}</a>";with: $modlist .= "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$modarray[$i]\" rel=\"nofollow\">{$moderator[$modarray[$i]]}</a>";and: $Username1 = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$posterid\">$PUsername</a>";with: $Username1 = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$posterid\" rel=\"nofollow\">$PUsername</a>";and: $prevlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showthreaded{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}new{$var_sep}posted{$var_eq}$lastpost{$var_sep}page{$var_eq}$page\">";
$prevlinkstop = "</a>";
$currentlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}postlist{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page\">";
$linktext = $ubbt_lang['INDEX_ICON'];
$currentlinkstop = "</a>";
$nextlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showthreaded{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}old{$var_sep}posted{$var_eq}$lastpost{$var_sep}page{$var_eq}$page\">";with: $prevlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showthreaded{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}new{$var_sep}posted{$var_eq}$lastpost{$var_sep}page{$var_eq}$page\" rel=\"nofollow\">";
$prevlinkstop = "</a>";
$currentlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}postlist{$var_sep}Board{$var_eq}$Board{$var_sep}page{$var_eq}$page\">";
$linktext = $ubbt_lang['INDEX_ICON'];
$currentlinkstop = "</a>";
$nextlinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}grabnext{$var_sep}Board{$var_eq}$Board{$var_sep}mode{$var_eq}showthreaded{$var_sep}sticky{$var_eq}$issticky{$var_sep}dir{$var_eq}old{$var_sep}posted{$var_eq}$lastpost{$var_sep}page{$var_eq}$page\" rel=\"nofollow\">";and: $popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$usernum\">{$ubbt_lang['VIEW_PROFILE']}</a></td></tr>";
if ($accept_pm) {
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=sendprivate&User=$usernum\">{$ubbt_lang['SEND_PM']}</a></td></tr>";
} // end if
if ($homepage) {
$homepage = "http://$homepage";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"$homepage\" target=\"_blank\">{$ubbt_lang['VIEW_HOME']}</a></td></tr>";
} // end if
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=addfavuser&User=$usernum&n=$Number&p=$page\">$watch_text</a></td></tr>";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=dosearch&Forum=All_Forums&Name=$usernum&Limit=25&fromprof=1&fromsearch=1\">{$ubbt_lang['VIEW_POSTS']}</a></td></tr>";with: $popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$usernum\" rel=\"nofollow\">{$ubbt_lang['VIEW_PROFILE']}</a></td></tr>";
if ($accept_pm) {
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=sendprivate&User=$usernum\" rel=\"nofollow\">{$ubbt_lang['SEND_PM']}</a></td></tr>";
} // end if
if ($homepage) {
$homepage = "http://$homepage";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"$homepage\" target=\"_blank\">{$ubbt_lang['VIEW_HOME']}</a></td></tr>";
} // end if
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=addfavuser&User=$usernum&n=$Number&p=$page\" rel=\"nofollow\">$watch_text</a></td></tr>";
$popups .= "<tr><td class=\"popup_menu_content\"><a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=dosearch&Forum=All_Forums&Name=$usernum&Limit=25&fromprof=1&fromsearch=1\" rel=\"nofollow\">{$ubbt_lang['VIEW_POSTS']}</a></td></tr>";and: $replylinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showthreaded\">";
$replylinkstop = "</a>";
$quotelinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showthreaded&q=1\">";
$quotelinkstop = "</a>";with: $replylinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showthreaded\" rel=\"nofollow\">";
$replylinkstop = "</a>";
$quotelinkstart = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=newreply&Board=$Board&Number=$Number&page=$page&what=showthreaded&q=1\" rel=\"nofollow\">";and: $Username = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$UserNumber\">$PPoster</a>";with: $Username = "<a href=\"{$config['BASE_URL']}/ubbthreads.php?ubb=showprofile&User=$UserNumber\" rel=\"nofollow\">$PPoster</a>"; templates/default/showthreaded.tplReplace: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$first_post}">with: <a style="text-decoration: none;" href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$Number}" rel="nofollow">and: <tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$Number}">{$lang.REPLY_POST}</a></td></tr>
{/if}
<tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}">{$lang.NEW_TOPIC}</a></td></tr>
{$addfavoption}
<tr><td class="popup_menu_content"><a target="_blank" href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}printthread{$var_sep}Board{$var_eq}{$Board}{$var_sep}main{$var_eq}{$current}{$var_sep}type{$var_eq}thread">{$lang.PRINT_THREAD}</a></td></tr>
{if $config.TOPIC_DISPLAY_OPTIONS == "both" }
<tr><td class="popup_menu_content">
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$Flat}{$var_sep}an{$var_eq}{$an}{$var_sep}page{$var_eq}{$page}">with: <tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newreply&Number={$Number}" rel="nofollow">{$lang.REPLY_POST}</a></td></tr>
{/if}
<tr><td class="popup_menu_content"><a href="{$config.BASE_URL}/ubbthreads.php?ubb=newpost&Board={$Board}" rel="nofollow">{$lang.NEW_TOPIC}</a></td></tr>
{$addfavoption}
<tr><td class="popup_menu_content"><a target="_blank" href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}printthread{$var_sep}Board{$var_eq}{$Board}{$var_sep}main{$var_eq}{$current}{$var_sep}type{$var_eq}thread" rel="nofollow">{$lang.PRINT_THREAD}</a></td></tr>
{if $config.TOPIC_DISPLAY_OPTIONS == "both" }
<tr><td class="popup_menu_content">
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}showflat{$var_sep}Number{$var_eq}{$Flat}{$var_sep}an{$var_eq}{$an}{$var_sep}page{$var_eq}{$page}" rel="nofollow">
|
|
|
|
1 members (1 invisible),
304
guests, and
96
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|
|