|
Add-ons Modifications and add-ons for vB Geek stuff. |
Advertisement | |
This is an HTML example. Isn't it just wonderful?!?!
|
|
Learn how to remove ads |
|
Release Tools | Display Modes |
#222
By
Morgan
on
11-21-2008, 11:28 PM
|
In the marked.php file add in the following echo statements and then let me know what letters you see on screen:
Code:
elseif ($do == "show") { echo 'A '; require_once(DIR . '/includes/functions_misc.php'); require_once(DIR . '/includes/class_postbit.php'); $settings = unserialize($vbulletin->GARS_settings); echo 'B '; //get installs forums if (is_array($settings['modules']['registered'])) { echo 'C '; $modid = ''; foreach($settings['modules']['registered'] as $key=>$value) { if ($value['file'] == 'marked.php') { $modid .= "," . intval($key); } } if ($modid) { echo 'D '; //get modset $results = $db->query_read("SELECT setid FROM " . TABLE_PREFIX . "gars_module_set_details WHERE modid in(-1$modid)"); $modsets = array(); while ($result = $db->fetch_array($results)) { $modsets[] = $result['setid']; } if (count($modsets)) { echo 'E '; //get types for modsets $types=array(); if (is_array($settings['types'])) { echo 'F '; foreach($settings['types'] as $key=>$value) { if (in_array($value['mods'], $modsets)) { $types[]=$key; } } if (count($types)) { echo 'G '; //get forumids for types if (is_array($settings['forums'])) { echo 'H '; $forums = array(); $forumids = ''; foreach($settings['forums'] as $key=>$value) { if (in_array($value, $types)) { echo 'I '; $key = intval($key); $forums[] = $key; $forumids .= "," . $key; } } } } } } } } if (!$forumids) { echo("marked module not assigned to a forum that I can see.");exit; } |
#223
By
Cocko
on
11-23-2008, 01:12 PM
|
Thanx for working on.
Echo: "A B marked module not assigned to a forum that I can see." Adding the following lines did not help Code:
require_once(DIR . '/includes/functions_prefix.php'); require_once(DIR . '/includes/class_datastore.php'); require_once(DIR . '/includes/class_core.php'); |
Last edited by Cocko; 11-23-2008 at 01:27 PM..
|
Release Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Release | Release Starter | Category | Comments | Last Post |
New GARS download package | henrikhansen | Geek Article and Review System | 1 | 04-25-2008 09:04 PM |
Release/Install: Show all installed | pixie | Geek Article and Review System | 2 | 05-16-2007 04:48 AM |
Numerous Errors Trying to Install Release | somedude99 | Geek Article and Review System | 9 | 03-27-2007 06:08 PM |
GARS Image Package Aria Design | jluerken | Add-ons | 3 | 08-29-2006 08:52 PM |
GARS Image Package Kirsch Design | jluerken | Add-ons | 1 | 08-29-2006 03:40 PM |