I have put the weblinks in the registered user section and he can't pass the code to there without registering but I would like the weblinks section visible to the general public.
Or.. and probably the best solution, would be to modify the weblink code so that only the Admin can modify it's links. But I have no idea how to do it.
Joined: Dec 19, 2004 Posts: 2287 Location: Germany:Moderator German NukeSentinel Support
Posted:
Sat Dec 09, 2006 12:34 pm
The same is in the downloads module. Its called d_config.
Block unregistered users from suggesting downloads changes? (1=Yes 0=No)
However, in older versions or non patched versions the $blockunregmodify = 1; doesn´t work.
The same is in the downloads module. Its called d_config.
Block unregistered users from suggesting downloads changes? (1=Yes 0=No)
However, in older versions or non patched versions the $blockunregmodify = 1; doesn´t work.
Thanks guys and gals.
I'm running the the latest version of PHPNuke 8 so it should be the newest version of Weblinks as well. I noticed the link modify request in my iP_tracking module and have not actually had the weblinks open to the general public.
I did check the config settings so maybe I'll put it live and see what happens.
Joined: Aug 29, 2004 Posts: 7487 Location: Arizona
Posted:
Sun Dec 10, 2006 10:30 am
Quote:
so it should be the newest version of Weblinks as well
You are assuming that FB touches his older modules over time... He doesn't even include the latest patches in his work, so there is a good chance all the usual bugs are still there...
I have just recently also found that there is a bug in Web Links and probably Downloads which still allows the submittal of links even when you are anonymous and the allow flag is set to NOT allow this to happen... been fixed in the upcoming RavenNuke release... just need to check for other possible such "holes".
Joined: Aug 29, 2004 Posts: 7487 Location: Arizona
Posted:
Wed Dec 13, 2006 2:40 pm
Sorry... entire household has been under-the-weather lately. Haven't been on the boards in too long. The easiest fix is to replace the Add function as such:
=== OPEN FILE ===
modules/Web_Links/index.php
=== REPLACE ENTIRE FUNCTION ===
function Add($title, $url, $auth_name, $cat, $description, $email) {
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum