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

Home » FUDforum » FUDforum Installation Issues » Profile page Upgrade issue
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Profile page Upgrade issue [message #187490] Sat, 26 May 2018 07:51 Go to next message
alopezie is currently offline  alopezie   Germany
Messages: 94
Registered: September 2003
Karma: 1
Member
add to buddy list
ignore all messages by this user
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 07:53]

Report message to a moderator

Re: Profile page Upgrade issue [message #187491 is a reply to message #187490] Sat, 26 May 2018 07:58 Go to previous messageGo to next message
naudefj is currently offline  naudefj   United States
Messages: 3654
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 12:12 Go to previous message
alopezie is currently offline  alopezie   Germany
Messages: 94
Registered: September 2003
Karma: 1
Member
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Fatal Error when backing up
Next Topic: FUDforum2Go Appliance for Windows
Goto Forum:
  

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

Current Time: Mon Jun 25 13:48:02 EDT 2018

Total time taken to generate the page: 0.00700 seconds