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.

Hashtag script ..

View previous topic View next topic Go down

Hashtag script ..

Post by Mario Gotze on July 10th 2014, 2:55 am

Hi Very Happy
I have heard lately about "Hashtag Script Systime"
And researched a lot about him
I found out a lot but problems .. and now i need a any hashtag script or code working 100%
My Forum version / phpbb2

these are some codes that have problems :


Problime :



Code :

Code:
$(function() {
var a = $('.post').get();
for (i=0; i<a.length; i++) a[i].innerHTML = a[i].innerHTML.replace(/#(.*?)\s/g, '#<a href="/search?search_keywords=$1" target="_blank">$1</a>');
});

& Thanks

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 10th 2014, 11:13 pm

up

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 13th 2014, 12:46 am

upppppppppppppppppppppppppppppppp

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 14th 2014, 5:45 am

bwi

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by SLGray on July 14th 2014, 9:43 am

Where did you add the code?


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 15th 2014, 9:22 pm

@SLGray wrote:Where did you add the code?
In Java Script .. In Topics ONly

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 16th 2014, 5:48 am

pleaaaaaaaaaaaaaase Help me i need this code as any waySadSad

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

Back to top Go down

Re: Hashtag script ..

Post by Ange Tuteur on July 16th 2014, 8:33 pm

Hello,

There really isn't another way seeing as you need to replace the HTML to insert an anchor. Any occurrence of a hash will be replaced with an anchor. By replacing the post HTML you also forfeit certain features such as image resize.

Unfortunately we cannot help with this, sorry.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Hashtag script ..

Post by Mario Gotze on July 17th 2014, 2:51 am

MMm.. no way !?
I have a one & it working for english systime only
If written in Arabic will be not working

Mario Gotze
Forumember

Male Posts : 67
Reputation : 2
Language : Eng & Arabic & German & French & Spanish .
Location : MA

http://www.f-mzaj.com

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