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.

weird request topics by member by tagging

Go down

Solved weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 9:06 am

weird request topics by member by tagging
as far as i know the member tagging is like this @Michael_vx
and word tagging is #word
is there a way or Script to make something like when i tag a member name
let me able to view all topics from him for example
*Michael_vx
so after send it should be replaced to be like this
*Michael_vx
 
i hope i did Explain everything well
rabbit


Last edited by Michael_vx on February 15th 2015, 6:54 pm; edited 1 time in total (Reason for editing : solved)
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 2:04 pm

what version do you need this for?
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 3:59 pm

hi there
first i like to congrats you for being support mod you are doing good Smile
back to topic
i like it to be for the most versions put the phpbb2 in the 1st place
Mr. Green
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 5:11 pm

thank you....

this should work on all 4 versions


Code:
$('.post').each(function(){
    $(this).find('a[title*="Viewing profile"]').each(function(){       
var b = $(this).text().replace('@','');
$(this).attr('href','/sta/'+b);
    });
});
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 5:58 pm

i think not working
tested on phpbb2 and 3
is the key is @ or ?
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 6:04 pm

should replace the url for the @Michael_vx
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 6:10 pm

http://micsoft-test.forumg.biz/t22-tag-test#45
i guess i miss something
Rolling Eyes 
still the url is to the profile not topics
i wonder what i did miss
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 6:14 pm

looks like your "Like" script has an error in it so its stopping other scripts from working
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 6:38 pm

Shocked 
weird
i thought that was the problem
i disabled all java scripts else then the tag code
same thing
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 6:49 pm

ha im such a dummy i forgot to put it in a function

Code:
$(function(){
$('.post').each(function(){
   $(this).find('a[title*="Viewing profile"]').each(function(){      
var b = $(this).text().replace('@','');
$(this).attr('href','/sta/'+b);
   });
});
});
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by Michael_vx on February 15th 2015, 6:53 pm

lol im the dummy
i did not know is only needs something like that
alright
topic solved
thanks a lot
^_^
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: weird request topics by member by tagging

Post by _Twisted_Mods_ on February 15th 2015, 6:58 pm

Topic solved and archived
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


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