vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Classifieds (https://vborg.vbsupport.ru/showthread.php?t=205236)

john102774 05-02-2009 05:53 AM

Quote:

Originally Posted by john102774 (Post 1801664)
Unfortunately this mod is not working for me. I followed all the directions. When making an attempt to do step#7 I can not seem to locate the section where it will allow me to set permission to use vbclassified. I know I'm doing something wrong since there have been many success with this mod. If anyone could help me it will be greatly appreciated. Thanks. :)

7. By default none usergroup has permissions to use vbfclassifieds, so you need to give permissions to any group. Goto AdminCP->Usergroups->Usergroup Manager and edit any usergroup you like to give permissions.

Hello, can anybody help me with this? :o

john102774 05-04-2009 07:47 AM

FYI: I finally got it to work by doing the following below. I hope this is helpful to you guys as it was to me. Good luck! Thanks for this great Hack Mary! :)

Quote:

Originally Posted by rule0 (Post 1791575)
I was getting a blank page with classifieds.php (with or w/o vbseo).

this is how i solved it:
in classifieds.php i moved require directives starting at line 88, above require(CDIR.'/includes/init.php');
Code:

define('CDIR', getcwd());
// move up begin
require_once('./global.php');
require_once(DIR . '/classifieds/includes/functions.php');
require_once(DIR . '/includes/functions_editor.php');
require_once(DIR . '/includes/functions_wysiwyg.php');
require_once(DIR . '/includes/functions_user.php');
require_once(DIR . '/includes/class_bbcode.php');
require_once(DIR . '/includes/class_image.php');
// move up end
require_once(CDIR . '/includes/init.php');



chick 05-06-2009 08:38 PM

Quote:

Originally Posted by john102774 (Post 1804171)
FYI: I finally got it to work by doing the following below. I hope this is helpful to you guys as it was to me. Good luck! Thanks for this great Hack Mary! :)


and for those of us who do not know what required directives are?????????? can you please be more specific, I have the same issue.

or post the changed classifieds.php so we can have it please


All times are GMT. The time now is 09:15 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.01126 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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