![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| [SOLVED] Cannot disable outgoing links When your pligg site contains original content, and does not depend on stories from the net, the story's title should not link to a website. Disabling it from the control panel still causes the title to link to 'http:/' and the browser would seem to be loading indefinitely.. I fixed me problem, hacked the code so it would reload the story when the title is clicked. i just wanted to mention it here. |
| The Following User Says Thank You to echo4224 For This Useful Post: | ||
| Sponsored Links |
|
Check out the New Modules at the Pligg Pro Shop.
|
| |||
| Quote:
Can you share how did you do it? Thanks |
| |||
| this is exactly what i want as well. |
| |||
| Was this hack ever captured or documented ? It sounds like a good fit for a problem I am encountering. Cheers, J |
| |||
| Hello Everyone, My apologies for the late reply!! I don't check the forum often. Here is what I did, it's very "dirty" : - From the web based admin menu, i turn outgoing links ON. - in the file /lib/html1.php I replaced two references of out.php to story.php. If ($x == "out") {return my_pligg_base."/story.php?id=" . $var1;} If ($x == "outtitle") {return my_pligg_base."/story.php?title=" . $var1;} And that's it. Another solution is to just delete the original out.php, and save a copy of story.php with that name to replace it. I think that would work too (with outgoing links ON from the admin menu) I DO NOT recommend these solutions, it's a very dirty hack, I wouldn't be surprised if stuff starts to blow up in your face. I am very inexperienced in PHP, and was too lazy to follow the real root of the problem. - Sam |
| |||
| Actually, I think they were three references, not two ! .. in html1.php .. do a search and replace out.php with story.php everywhere. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advantage of outgoing links | tbones | General Help | 4 | 05-29-2007 02:14 AM |
| Why does outgoing links not work with url method2? | mbs348 | General Help | 10 | 02-28-2007 04:11 AM |
| [Fixed] Outgoing links and urlmethod2 | cybex | Bug Report | 5 | 02-12-2007 07:31 AM |
| static outgoing links with pligg | Marc | Pligg Templates | 0 | 01-12-2007 04:47 AM |
| HELP! Outgoing links are all redirecting to my site | argash | General Help | 5 | 01-11-2007 05:47 PM |






Linear Mode

