The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

weird request topics by member by tagging

2 posters

Go down

Solved weird request topics by member by tagging

Post by Michael_vx Sun 15 Feb 2015 - 9:06

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
weird request topics by member by tagging Whistle 
i hope i did Explain everything well
rabbit


Last edited by Michael_vx on Sun 15 Feb 2015 - 18:54; edited 1 time in total (Reason for editing : solved)
Michael_vx
Michael_vx
Forumember

Male Posts : 659
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_ Sun 15 Feb 2015 - 14:04

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

Male Posts : 2083
Reputation : 336
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 Sun 15 Feb 2015 - 15:59

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
Michael_vx
Michael_vx
Forumember

Male Posts : 659
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_ Sun 15 Feb 2015 - 17:11

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);
    });
});
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
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 Sun 15 Feb 2015 - 17:58

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

Male Posts : 659
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_ Sun 15 Feb 2015 - 18:04

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

Male Posts : 2083
Reputation : 336
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 Sun 15 Feb 2015 - 18:10

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
Michael_vx
Michael_vx
Forumember

Male Posts : 659
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_ Sun 15 Feb 2015 - 18:14

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

Male Posts : 2083
Reputation : 336
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 Sun 15 Feb 2015 - 18:38

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

Male Posts : 659
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_ Sun 15 Feb 2015 - 18:49

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);
   });
});
});
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
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 Sun 15 Feb 2015 - 18:53

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

Male Posts : 659
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_ Sun 15 Feb 2015 - 18:58

Topic solved and archived
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top

- Similar topics

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