[libstats] Disabling creation of hyperlinks in Q & A sections

1 view
Skip to first unread message

Christian

unread,
Apr 8, 2010, 5:05:58 PM4/8/10
to libstats
Hi,

Can someone point me to the location of the code that automatically
converts web addresses within the Question & Answer boxes to clickable
hyperlinks? We'd prefer (for various reasons) that such addresses did
not get converted to links, opting instead to manually cut & paste
them into a new window.

Thanks,

-Christian

--
You received this message because you are subscribed to the Google Groups "libstats" group.
To post to this group, send email to libs...@googlegroups.com.
To unsubscribe from this group, send email to libstats+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/libstats?hl=en.

Erin Germ

unread,
Apr 9, 2010, 2:09:22 PM4/9/10
to cde...@ggu.edu, libstats
Christian,

I'm just taking a stab at this but check /DisplayFunctions.php; around like 152 there is a function called insertLinks.

I have not tested this but I would think commenting out the code within the function and then just adding "return($text);" would resolve you problem.

Let us know if that works.

~Erin
--
----------------------
"Well then what am I supposed to do with all my creative ideas- take a bath and wash myself with them? 'Cause that is what soap is for" (Peter, Family Guy)

http://eringerm.com/
http://twitter.com/ErinLovesTechno

Christian

unread,
Apr 9, 2010, 8:14:27 PM4/9/10
to libstats
Thanks Erin, that worked quite well!

Best,

-C

Reply all
Reply to author
Forward
0 new messages