vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Easy Pages 1.0.0 Light (https://vborg.vbsupport.ru/showthread.php?t=191631)

Bill from Cleve 11-15-2009 09:03 PM

What a nice little app. works great even with 3.8.4

hassshasss 12-28-2009 03:36 PM

This mode is compatible with version vb4.0 what you gonna be? was very beautiful.

kylek 12-29-2009 10:44 PM

It works with vb4 but you get errors showing at the top of the page:

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxx/public_html/forum/easy_pages.php(69) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

sixxkilur 01-22-2010 10:29 AM

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.

Shanj 01-23-2010 12:29 AM

Surely usergroup permissions can be inserted with a php conditional?

You can do that with Logician's Webtemplates and this looks similar. If all the standard VB page header is there then conditionals should work.

Someone try out a conditional and post here if it works?

BadgerDog 01-25-2010 02:15 PM

Installed ... :)

Thank you Gio~Logist ... :up:

Works really well for the basic we need we had to put some information on a separate page ...

Do we need to install that delete patch mentioned?

Regards,
Badger

Edit: One problem I've noticed is that when someone goes into an Easy Page, it shows up in the "Whos On-Line" as:

Unknown Location
/easy_pages.php?p=xxxx

That's pretty dangerous from a security point of view, as it broadcasts to everyone the page location. Is there any way to stop this from happening?

Digital Jedi 01-25-2010 04:15 PM

Quote:

Originally Posted by BadgerDog (Post 1966168)
Installed ... :)

Thank you Gio~Logist ... :up:

Works really well for the basic we need we had to put some information on a separate page ...

Do we need to install that delete patch mentioned?

Regards,
Badger

Edit: One problem I've noticed is that when someone goes into an Easy Page, it shows up in the "Whos On-Line" as:

Unknown Location
/easy_pages.php?p=xxxx

That's pretty dangerous from a security point of view, as it broadcasts to everyone the page location. Is there any way to stop this from happening?

Dangerous? That's the URL to the page.

BadgerDog 01-25-2010 05:14 PM

Quote:

Originally Posted by Digital Jedi (Post 1966270)
Dangerous? That's the URL to the page.

Perhaps I'm missing your point, but is that not the point that everyone here who might install this should be aware of?

It's already PUBLIC in the Who's On-line list for everyone's members to see and click on?

Am I missing something?

Thanks for the feedback... :)

Regards,
Badger

Digital Jedi 01-25-2010 08:54 PM

Quote:

Originally Posted by BadgerDog (Post 1966326)
Perhaps I'm missing your point, but is that not the point that everyone here who might install this should be aware of?

It's already PUBLIC in the Who's On-line list for everyone's members to see and click on?

Am I missing something?

Thanks for the feedback... :)

Regards,
Badger

Well, unless you trying to do something wholly different from what this mod intends, I can't imagine why you wouldn't want people to know the URL to the page. How else would they get to it?

BadgerDog 01-25-2010 09:22 PM

Quote:

Originally Posted by Digital Jedi (Post 1966502)
Well, unless you trying to do something wholly different from what this mod intends, I can't imagine why you wouldn't want people to know the URL to the page. How else would they get to it?

Ok, now I'm really confused.... :confused:

I think it might be me misinterpreting your orignal point.... ;)

If so, my apologies ... :o

We don't have a problem with it as the only way we use it is to get to a page for our on-line "live" help system for operators to login for support. It's useless for anyone who doesn't have a login name and password to get past that point anyway. We ONLY provide our moderators with the link to this page and don't use it for anything else, so it's not part of our regular web site for members.

I guess what I was saying was that the for anyone who was expecting any kind of permissions or access control in whatever they put on that page, it isn't get going to happen with this particular mod, as the page iappears in the clear on the "Who is On-line" page and can be clicked on there.

Regards,
Badger


All times are GMT. The time now is 02:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01213 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete