Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Register Link

Asked Modified Viewed 2,864 times
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
asked
Senior Member

Ok i thought I thought I crossed my t's and dotted all my i's. But somehow I missed redirecting a link on my site. I have noticed, that if I log out and see it at public view I see a registration link in the top right corner. I need this link to point to my paypal, does anyone know where i can change it. I am using the theme Aer.
0 replies

11 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

in the theme.php for aer it might be there. search ye shall find it.
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

The only thing I could find regarding registration was this code on line 59 of the Aer theme.
".($settings['enable_registration'] ? "<li> | <a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "");
0 replies
G
Gillette
G
Gillette 10
  • Senior Member, joined since
  • Contributed 335 posts on the community forums.
  • Started 4 threads in the forums
answered
Senior Member

That's exactly what your looking for:
Theme: Aer
File: theme.php
Line # 59
Edit the link out as i showed you in previous post

".($settings['enable_registration'] ? "<li> | <a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "");
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

I switched back to the webmaster theme, because no link shows there. but the person who used the back door to get into my site, said it was public view. is there a way to hide this. i really want to use the aer theme, but not with that visible register link.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Overwrite aer/theme.php with this one...

<?php
/*.aer Theme for PHPFusion v7.......*|
|*.Author: Max "Matonor" Toball......*|
|*.Released under the Affero GPLv3...*/
//Theme Settings
define("THEME_WIDTH", "95%"); //theme width. Make sure to adapt the margin-left in the first div (-width/2).
define("THEME_BULLET", "<span class='bullet'>&middot;</span>"); //bullet image
$enable_colour_switcher = true; //true=enable colour switcher | false=disable colour switcher
$enable_fontsize_switcher = true; //true=enable fontsize switcher | false=disable fontsize switcher
$enable_column_switcher = true; //true=enable column switcher | false=disable column switcher
//Theme Settings /

if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."theme_functions_include.php";
require_once THEMES."templates/switcher.php";

$colour_switcher = new Switcher("select", "colour", "png", "blue", "switcherbutton");
if(!$enable_colour_switcher){
   $colour_switcher->disable();
}

$column_switcher = new Switcher("select", "columns", "png", "both", "switcherbutton");
if(!$enable_column_switcher){
   $column_switcher->disable();
}

$fontsize_switcher = new Switcher("increment", "fontsize", "png", 1, "switcherbutton", "", true, array("step" => 0.1, "max" => 1.5));
if(!$enable_fontsize_switcher){
   $fontsize_switcher->disable();
}

redirect_img_dir(THEME."forum", THEME."forum/".$colour_switcher->selected);
set_image("pollbar", THEME."images/navbg.jpg");

function get_head_tags(){
   global $colour_switcher, $fontsize_switcher, $column_switcher;
   echo $colour_switcher->makeHeadTag();
   echo $column_switcher->makeHeadTag();
   echo "<style type='text/css'>body{font-size: ".$fontsize_switcher->selected."em;}</style>";
   echo "<!--[if lte IE 7]><style type='text/css'>.clearfix {display:inline-block;} * html .clearfix{height: 1px;}#subheader ul {display:inline-block;}#subheader ul {display:inline;}#subheader ul li {float:left;}</style><![endif]-->";
}

function render_page($license=false) {
   global $aidlink, $locale, $settings, $colour_switcher, $fontsize_switcher, $column_switcher, $main_style;
   
   echo "\t<div id='body2'>
      <div id='header' class='clearfix'>
         <div class='resized'>
            <div id='userbar' class='floatfix'>
               <ul id='anchors' class='flleft'><li><a href='#content'>".$locale['global_210']."</a></li></ul>
               <ul id='links' class='clearfix flright'>\n";
               if(iMEMBER){
                  echo "\t\t\t\t\t\t\t<li><a href='".BASEDIR."edit_profile.php'>".$locale['global_120']."</a> </li>
                  <li> | <a href='".BASEDIR."messages.php'>".$locale['global_121']."</a></li>
                  ".(iADMIN ? "<li> | <a href='".ADMIN."index.php".$aidlink."' >".$locale['global_123']."</a></li>" : "")."
                  <li> | <a href='".BASEDIR."setuser.php?logout=yes'>".$locale['global_124']."</a></li>\n";
               }else{
                  echo "\t\t\t\t\t\t\t<li><a href='".BASEDIR."login.php'>".$locale['global_104']."</a></li>";
               }
               echo "\t\t\t\t\t\t</ul>
            </div>
            <div id='mainheader' class='clearfix'>".showbanners()."</div>
         </div>
      </div>
      <div id='subheader' class='floatfix'>
         <div class='resized flleft'>
            ".
            preg_replace("^(li)( class='(first-link)')*(><a href='(\.\./)*".preg_quote(START_PAGE)."')^i", "\\1 class='active \\3'\\4", showsublinks(""))."
         </div>
         <div id='switcher' class='flright'>
            
            ".$colour_switcher->makeForm("flright")."
            ".$column_switcher->makeForm("flright")."
            ".$fontsize_switcher->makeForm("flright")."
         </div>
      </div>
      <div id='main'>
         <div id='cont_r'>
            <div id='cont_l'>
               <div id='cont' class='clearfix $main_style'>
                  ".(LEFT ? "<div id='side-border-left'>".LEFT."</div>" : "")."
                  ".(RIGHT ? "<div id='side-border-right'>".RIGHT."</div>" : "")."
                  <div id='main-bg'><div id='container'>".
                     U_CENTER.
                     CONTENT.
                     L_CENTER."
                  </div></div>
               </div>
            </div>
         </div>
      </div>
   </div>
   <div id='closer'></div>
   <div id='footer' class='floatfix'>
      ".(!$license ? "<div class='flleft' style='width: 50%'>".showcopyright()."<br />\n Theme designed by <a href='http://matonor.com'>Max Toball</a></div>" : "")."
      <div class='flright' style='width: 50%; text-align: right;'>".stripslashes($settings['footer'])."</div>
   </div>
   <div id='subfooter' class='clearfix'>
      <div class='flleft' style='width: 50%'>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>
      <div class='flright' style='width: 50%; text-align: right;'>".showcounter()."</div>
   </div>";

}

/* New in v7.02 - render comments */
function render_comments($c_data, $c_info){
   global $locale, $settings;
   opentable($locale['c100']);
   if (!empty($c_data)){
      echo "<div class='comments floatfix'>\n";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
      }
         foreach($c_data as $data) {
           $comm_count = "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a>";
         echo "<div class='tbl2 clearfix floatfix'>\n";
         if ($settings['comments_avatar'] == "1") { echo "<span class='comment-avatar'>".$data['user_avatar']."</span>\n"; }
           echo "<span style='float:right' class='comment_actions'>".$comm_count."\n</span>\n";
         echo "<span class='comment-name'>".$data['comment_name']."</span>\n<br />\n";
         echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
   if ($data['edit_dell'] !== false) { echo "<br />\n<span class='comment_actions'>".$data['edit_dell']."\n</span>\n"; }
         echo "</div>\n<div class='tbl1 comment_message'>".$data['comment_message']."</div>\n";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo "<div style='float:right' class='comment_admin'>".$c_info['admin_link']."</div>\n";
      }
      echo "</div>\n";
   } else {
      echo $locale['c101']."\n";
   }
   closetable();   
}

function render_news($subject, $news, $info) {

   global $locale;
   
   opentable($subject);
   echo "<div class='floatfix'>".$info['cat_image'].$news."</div>
   <div class='news-footer'>
      ".newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']).
   "</div>\n";
   closetable();

}

function render_article($subject, $article, $info) {

   global $locale;
      
   opentable($subject);
   echo "<div class='floatfix'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
   <div class='news-footer'>
      ".articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']).
   "</div>\n";
   closetable();
}

function opentable($title) {

   echo "\n
   <div class='lbg'><div class='rbg'>
   <div class='tbg'><div class='bbg'>
   <div class='ctl'><div class='cbl'><div class='ctr'><div class='cbr'>
   <div class='panelbody'>".(!empty($title) ? "<h2 class='panelcap'>$title</h2>" : "")."\n";

}

function closetable() {

   echo "\t</div>
   </div></div></div></div></div></div></div></div>\n";

}

$panel_collapse = true;
function openside($title, $collapse = false, $state = "on") {
   
   static $box_id = 0; $box_id++;
   global $panel_collapse, $p_data; $panel_collapse = $collapse;
   
   if($p_data['panel_filename'] == "css_navigation_panel") $title = "";
   
   opentable(($collapse ? panelbutton($state,$box_id) : "").$title);
   echo ($collapse ? panelstate($state, $box_id) : "");
}

function closeside() {

   global $panel_collapse, $p_data;
   
   echo ($panel_collapse ? "\t</div>" : "");
   closetable();


}
?>
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

In what post. All i did on the global was change the href link url in the global.php
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

What you talking about please be more clear.
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

Thanks, link is removed from page. Awsome.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

You are most welcome. :)
0 replies
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
answered
Senior Member

sorry craig. I had another post, about changing a registration link in the global.php. gilette got me in the right direction on that one.

Merged on May 30 2012 at 10:39:30:
now would this code work for any theme or specific to aer.
Edited by Vyper69 on 30-05-2012 16:39,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Sorry my mistake I thought you meant the theme.php ok anyway good luck with yer site.


Its aer theme.php
0 replies

Category Forum

Themes Support

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
G
G
Gillette 10
  • Senior Member, joined since
  • Contributed 335 posts on the community forums.
  • Started 4 threads in the forums
V
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet