The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

tagged option

View previous topic View next topic Go down

Solved tagged option

Post by aprilshowers0923 on March 1st 2016, 11:40 pm



Hi when you hover over a tagged user this information shows up.

Is it possible to show info from their profile?

Right now that info doesn't help us but it is a great option if we can
change it.




Last edited by aprilshowers0923 on March 10th 2016, 5:57 am; edited 2 times in total
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 1st 2016, 11:56 pm



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 12:26 am

Doesn't work for me Mr. Gray...I did and followed it and it doesnt work for me.
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 2nd 2016, 12:48 am

This does not work on tagged usernames.  It works on the username in the profiles in messages.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 12:51 am

Yes but its not working for me

Here is the link to the forum which is my test forum.

http://backgroundsapril.forummotions.com/
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 2nd 2016, 4:07 am

Did you use the codes in the second post?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 4:08 am

Yes sir
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 2nd 2016, 4:11 am

So you added the code as a JavaScript in all pages?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 4:49 am

Yes this one:

$(function () {
  if (/\/u\d+/.test(location.pathname)) return;
 
  var wall = 1, // visitor messages tab
  stats = 1, // statistics tab
  attachments = 0, // attachments tab
  friends = 1, // friends tab
  contact = 1, // contact tab
  rpg = 0, // RPG tab
  close = 1, // close popup button
  avatar = 1; // display user avatar
 
  var a=document.getElementsByTagName('A');
  for(i=0;i<a.length;i++)if(/\/u\d+/.test(a[i].href))a[i].className=a[i].className+' profilePopup';
  $('.profilePopup:has(img)').removeClass('profilePopup');
  
  var userWall='',userStats='',userAttachments='',userFriends='',userContact='',userRpg='',userClose='',guestView=true;
  if(wall==1)userWall='<span class="propop_tab" id="propop_vm">Visitor messages</span>';if(stats==1)userStats='<span class="propop_tab" id="propop_stats">Statistics</span>';if(attachments==1)userAttachments='<span class="propop_tab" id="propop_attach">Attachments</span>';if(friends==1)userFriends='<span class="propop_tab" id="propop_friends">Friends</span>';if(contact==1)userContact='<span class="propop_tab" id="propop_contact">Contact</span>';if(rpg==1)userRpg='<span class="propop_tab" id="propop_rpg">Character sheet</span>';if(close==1)userClose='<span class="propop_tab" id="close_popup" style="float:right;margin-top:-4px;">Close</span>';
 
  $('.profilePopup').click(function(){
    var UID=$(this).attr('href'),UNM=$(this).text(),SEL='#cp-main .panel, .forumline:has(#profile-advanced-details), .clear + #profile-advanced-details',LOAD='<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">Loading...</div>';
    $('body').append('<div id="profilefilter" style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;background:url(http://i39.servimg.com/u/f39/18/21/41/30/overla10.png);cursor:pointer;z-index:10;"></div><div id="profcont-container" style="background:#EEE;border:1px solid #CCC;top:20%;left:15%;right:15%;padding:4px;position:fixed;font-size:12px;border-radius:5px;z-index:50;"><div class="profile_popup_nav">'+userWall+'<span class="propop_tab" id="propop_profile">Profile</span>'+userStats+userAttachments+userFriends+userContact+userRpg+userClose+'</div><a href="'+UID+'"><div id="userAVA"></div></a><div id="userprofile" style="height:400px;overflow-y:auto;">'+LOAD+'</div><span id="profileLinks"><a href="'+UID+'">View Profile</a><span id="interactionLinks"> • <a href="/privmsg?mode=post&u='+UID.replace(/.*?\/u/,'')+'">Send PM</a><span id="vmLink"> • <a href="/privmsg?mode=post_profile&u='+UID.replace(/.*?\/u/,'')+'">Send VM</a></span><span style="float:right;"><a href="/profile?friend='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes">Add Friend</a> • <a href="/profile?foe='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes">Add Foe</a></span></span></div>');
 
    $('#userprofile').load(UID+SEL,function(){if($('#profcont-container #username').length&&_userdata.user_id==-1){$(this).html('<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">Sorry, guests cannot view the profiles! Sad</div>');guestView=false}});
    $('#propop_profile').addClass('activeTab');
    if (avatar == 1) $('#userAVA').load(UID+' #profile-advanced-right .module:first div img:first, .forumline td.row1.gensmall:first > img:first, .frm-set.profile-view.left dd img:first, dl.left-box.details:first dd img:first, .row1 b .gen:first img:first, .real_avatar img:first');
    loadPro('#propop_profile','');loadPro('#propop_vm','wall');loadPro('#propop_stats','stats');loadPro('#propop_friends','friends');loadPro('#propop_contact','contact');loadPro('#propop_rpg','rpg');loadPro('#propop_attach','attachments');
  
    if(wall==0)$('#vmLink').remove();
    if(!document.getElementById('logout'))$('#interactionLinks').remove();
    $('#profilefilter,#close_popup').click(function(){$('#profilefilter, #profcont-container').remove()});
    function loadPro(element, location){$(element).click(function(){if($(this).hasClass('activeTab')||guestView==false)return;$('#propop_profile,#propop_vm,#propop_stats,#propop_friends,#propop_contact,#propop_rpg,#propop_attach,#propop_close').removeClass('activeTab');$(this).addClass('activeTab');$('#userprofile').html(LOAD).load(UID+location+SEL)})}
    return false;
  });
});
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 2nd 2016, 4:58 am

Please use the code tags when posting codes.

I believe that the recent updates by Forumotion is in conflict with the code.  It works on the homepage, but not in posts.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 5:59 am

Okay and ?
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by Vanityy on March 2nd 2016, 6:41 am

For reading purposes:
Code:
$(function () {
  if (/\/u\d+/.test(location.pathname)) return;
 
  var wall = 1, // visitor messages tab
  stats = 1, // statistics tab
  attachments = 0, // attachments tab
  friends = 1, // friends tab
  contact = 1, // contact tab
  rpg = 0, // RPG tab
  close = 1, // close popup button
  avatar = 1; // display user avatar
 
  var a=document.getElementsByTagName('A');
  for(i=0;i<a.length;i++)if(/\/u\d+/.test(a[i].href))a[i].className=a[i].className+' profilePopup';
  $('.profilePopup:has(img)').removeClass('profilePopup');
  
  var userWall='',userStats='',userAttachments='',userFriends='',userContact='',userRpg='',userClose='',guestView=true;
  if(wall==1)userWall='<span class="propop_tab" id="propop_vm">Visitor messages</span>';if(stats==1)userStats='<span class="propop_tab" id="propop_stats">Statistics</span>';if(attachments==1)userAttachments='<span class="propop_tab" id="propop_attach">Attachments</span>';if(friends==1)userFriends='<span class="propop_tab" id="propop_friends">Friends</span>';if(contact==1)userContact='<span class="propop_tab" id="propop_contact">Contact</span>';if(rpg==1)userRpg='<span class="propop_tab" id="propop_rpg">Character sheet</span>';if(close==1)userClose='<span class="propop_tab" id="close_popup" style="float:right;margin-top:-4px;">Close</span>';
 
  $('.profilePopup').click(function(){
    var UID=$(this).attr('href'),UNM=$(this).text(),SEL='#cp-main .panel, .forumline:has(#profile-advanced-details), .clear + #profile-advanced-details',LOAD='<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">Loading...</div>';
    $('body').append('<div id="profilefilter" style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;background:url(http://i39.servimg.com/u/f39/18/21/41/30/overla10.png);cursor:pointer;z-index:10;"></div><div id="profcont-container" style="background:#EEE;border:1px solid #CCC;top:20%;left:15%;right:15%;padding:4px;position:fixed;font-size:12px;border-radius:5px;z-index:50;"><div class="profile_popup_nav">'+userWall+'<span class="propop_tab" id="propop_profile">Profile</span>'+userStats+userAttachments+userFriends+userContact+userRpg+userClose+'</div><a href="'+UID+'"><div id="userAVA"></div></a><div id="userprofile" style="height:400px;overflow-y:auto;">'+LOAD+'</div><span id="profileLinks"><a href="'+UID+'">View Profile</a><span id="interactionLinks"> • <a href="/privmsg?mode=post&u='+UID.replace(/.*?\/u/,'')+'">Send PM</a><span id="vmLink"> • <a href="/privmsg?mode=post_profile&u='+UID.replace(/.*?\/u/,'')+'">Send VM</a></span><span style="float:right;"><a href="/profile?friend='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes">Add Friend</a> • <a href="/profile?foe='+UNM.replace(/\s+/g,'+')+'&mode=editprofile&page_profil=friendsfoes">Add Foe</a></span></span></div>');
 
    $('#userprofile').load(UID+SEL,function(){if($('#profcont-container #username').length&&_userdata.user_id==-1){$(this).html('<div class="profileLoading" style="text-align:center;font-weight:bold;font-size:18px;">Sorry, guests cannot view the profiles! :(</div>');guestView=false}});
    $('#propop_profile').addClass('activeTab');
    if (avatar == 1) $('#userAVA').load(UID+' #profile-advanced-right .module:first div img:first, .forumline td.row1.gensmall:first > img:first, .frm-set.profile-view.left dd img:first, dl.left-box.details:first dd img:first, .row1 b .gen:first img:first, .real_avatar img:first');
    loadPro('#propop_profile','');loadPro('#propop_vm','wall');loadPro('#propop_stats','stats');loadPro('#propop_friends','friends');loadPro('#propop_contact','contact');loadPro('#propop_rpg','rpg');loadPro('#propop_attach','attachments');
  
    if(wall==0)$('#vmLink').remove();
    if(!document.getElementById('logout'))$('#interactionLinks').remove();
    $('#profilefilter,#close_popup').click(function(){$('#profilefilter, #profcont-container').remove()});
    function loadPro(element, location){$(element).click(function(){if($(this).hasClass('activeTab')||guestView==false)return;$('#propop_profile,#propop_vm,#propop_stats,#propop_friends,#propop_contact,#propop_rpg,#propop_attach,#propop_close').removeClass('activeTab');$(this).addClass('activeTab');$('#userprofile').html(LOAD).load(UID+location+SEL)})}
    return false;
  });
});

It might help if you told us what specifically you want to show.
avatar
Vanityy
Helper
Helper

Male Posts : 2336
Reputation : 323
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 6:48 am

I want certain info to show from the profile:

Name on Tags:


Likes:



Dislikes:
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by Ange Tuteur on March 2nd 2016, 11:28 am

Hey,

I'm getting a JavaScript error on your forum :


Do you have a script like this installed ?
Code:
<$(function(){$('.online .postprofile').prepend('<div class="online-img" style="position: absolute; width: 100%; height: 58px; background-image: url(http://illiweb.com/fa/pbucket.gif); background-position: right center; background-repeat: no-repeat; z-index: 1000; margin-left: -5px; margin-top: -5px;"></div>')});</>
If so, try removing it. Try to ctrl+f : http://illiweb.com/fa/pbucket.gif

It'll make it easier to find the script that way.
avatar
Ange Tuteur
Forumaster

Male Posts : 13176
Reputation : 2881
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 10:22 pm

Doesn't surprise me I was trying different codes to the online and stuff to work.

April
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 10:23 pm

I will check on the script.


April
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 2nd 2016, 11:00 pm

I only have 3 scripts so its not hard to find lol

It was a script given to me here to do the online stuff...

Okay I deleted it.

Can you check to see if it still is giving you that message?

April
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by Ange Tuteur on March 3rd 2016, 12:43 am

It's all good now, I don't see any errors. Very good
avatar
Ange Tuteur
Forumaster

Male Posts : 13176
Reputation : 2881
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 3rd 2016, 3:51 am

Nice Ange thank you.

what about the above post?

I want certain info to show from the profile:

Name on Tags:


Likes:



Dislikes:

I want certai
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by SLGray on March 3rd 2016, 6:18 am

This part of code will show the statistics like the likes and thanks:

Code:
stats = 1, // statistics tab


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40864
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 4th 2016, 1:31 pm

?????????????????
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by APE on March 11th 2016, 1:07 am

@aprilshowers0923
Is this now solved ? Please reply in 24hrs or we will lock this thread



avatar
APE
Manager
Manager

Male Posts : 10994
Reputation : 1031
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: tagged option

Post by aprilshowers0923 on March 11th 2016, 12:06 pm

You can close it 
Thank you
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forummotions.com/

Back to top Go down

Solved Re: tagged option

Post by APE on March 11th 2016, 2:38 pm

@aprilshowers0923 wrote:You can close it 
Thank you

Thank you for your fast reply

Have a great day.
Topic solved and archived



avatar
APE
Manager
Manager

Male Posts : 10994
Reputation : 1031
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum