FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Profile page Upgrade issue
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Profile page Upgrade issue [message #187490] Sat, 26 May 2018 11:51 Go to next message
alopezie is currently offline  alopezie   Germany
Messages: 106
Registered: September 2003
Karma: 1
Senior Member
Going from 3.0.6 to 3.0.9 I have an issue with the profile page in my modified theme.
it only loads the basic things (password), but shows only the headers of following 2 sections (collapsed, non-clickable, no +/- Buttons)
No modifications have been done on register.tmpl (this is original), so something else prohibits to show +/- buttons and to stay non-collapsed.

The is a JS error
index.php?t=register:393 Uncaught ReferenceError: min_max_cats is not defined
    at index.php?t=register:393
(anonymous)	@	index.php?t=register:393

Js.lib shows a JS function
function min_max_cats(theme_image_root, minimize_category, maximize_category, sq, s){	jQuery(document).ready(function(){		var toggleMinus=theme_image_root+'/min.png';		var togglePlus =theme_image_root+'/max.png';
		jQuery('.collapsed').prepend('<img src="'+togglePlus+'" alt="+" title="'+maximize_category+'"/> ')		               .addClass('collapsable');		jQuery('.expanded').prepend('<img src="'+toggleMinus+'" alt="-" title="'+minimize_category+'"/> ')		              .addClass('collapsable');
  jQuery('img', jQuery('.collapsable')).addClass('clickable')  .css('cursor', 'pointer')  .click(function(){    var toggleSrc=jQuery(this).attr('src');    var cat=jQuery(this).parents('tr').attr('id');    var on;
    if(toggleSrc.indexOf(toggleMinus)>=0){       
      jQuery(this).attr('src', togglePlus)             .attr('title', maximize_category)             .attr('alt', '+')             .parents('tr').siblings('.child-'+cat).fadeOut('slow');      on=1;   }else{                            
      jQuery(this).attr('src', toggleMinus)             .attr('title', minimize_category)             .attr('alt', '-')             .parents('tr').siblings('.child-'+cat).fadeIn('slow');      on=0;   };
    if(sq !=''){       jQuery.ajax({          type: 'POST',
          url: 'index.php?t=cat_focus',
          data: 'SQ='+sq+'&S='+s+'&c='+cat.substr(1)+'&on='+on
       });   }

 });})}


Alopezie.de - das Forum zum Thema Haarausfall

[Updated on: Sat, 26 May 2018 11:53]

Report message to a moderator

Re: Profile page Upgrade issue [message #187491 is a reply to message #187490] Sat, 26 May 2018 11:58 Go to previous messageGo to next message
naudefj is currently offline  naudefj   United States
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Are you on 3.0.9RC1 or 3.0.9?

Check header.tmpl
- <script async src="{BASE}js/jquery.js"></script>
+ <script src="{BASE}js/jquery.js"></script>
Aw: Re: Profile page Upgrade issue [message #187492 is a reply to message #187491] Sat, 26 May 2018 16:12 Go to previous message
alopezie is currently offline  alopezie   Germany
Messages: 106
Registered: September 2003
Karma: 1
Senior Member
I am using both 3.0.9RC1 and final.
Also the script source was correct.
But I had moved them to footer area, and removing them to header area solved the issue, whatsever is the reason.

Just to mention ... I preferred the old way ...
Especially switching a theme now takes couple of clicks, and those not familiar or hungry for details wont find it at the very end.


Alopezie.de - das Forum zum Thema Haarausfall
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fatal Error when backing up
Next Topic: Click "Category Manager" = Fatal Error out of memory
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 22 05:12:48 GMT 2024

Total time taken to generate the page: 0.04727 seconds