I installed this product over a year ago starting with installing it on vBulletin v 3.7.1 all the way up to 3.8.4 PL2. works great for what it is and very useful to add some quick goods to your site. However I have always had the same issue with it. Once you have created a page clicking delete the page is not removed.
Link for Edit page:
http://*******/admincp/golinks_admin...edit&pageid=11
Link for Delete:
http://*********/admincp/golinks_adm...delete&pageid=
there should be a pageid inserted a the end of the delete link but it's blank
looking in the golinks_admin.php file I have this
PHP Code:
<script>
function delete_page(pageid){
if(confirm("Are you sure you want to delete this page?")){
location = "golinks_admin.php?do=delete_page&pageid=" + pageid;
}
}
</script>
// Are you going to edit or delete? Hurry and make a decision, i'm running out of ideas here!
$cell[2] .= "\n\t<a href=\"golinks_admin.php?do=edit&pageid=" . $page[pageid] . "\">Edit Page</a> - <a href=\"golinks_admin.php?do=delete&pageid=\" \">Delete</a>";
I was able to get the pageid to append to the link by removing
PHP Code:
onclick=\"delete_page($page[pageid])
replacing it with
PHP Code:
" . $page[pageid] .
but page still does not delete.