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 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
weird request topics by member by tagging Whistle 
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)
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_ February 15th 2015, 2:04 pm

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 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
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_ 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);
    });
});
_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 February 15th 2015, 5:58 pm

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_ February 15th 2015, 6:04 pm

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 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
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_ February 15th 2015, 6:14 pm

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 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
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_ 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);
   });
});
});
_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 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
^_^
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_ February 15th 2015, 6:58 pm

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