The vB Geek

Go Back   The vB Geek > vB Geek Modifications > Add-ons

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

Comment
 
Release Tools Display Modes
 
Old 08-23-2006, 07:42 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Release/Install Package

Make sure that once you import via GARS import system, you MUST edit the new Release Module Set and then edit the release module, making sure each custom field is assigned correctly. Its also...

Last edited by The Geek; 03-24-2007 at 08:17 AM..
Reply With Quote
  #220  
By Morgan on 11-17-2008, 05:19 PM
Default

If it is a problem with the marked.php file, then it would be good to know what in the marked.php file is causing XCache to become unhappy. This could be done by placing various echo statements in the marked.php file to find out why $forumids isn't being set.
Reply With Quote
  #221  
By Cocko on 11-17-2008, 09:12 PM
Default

I would like to help and debug this issue. Maybe it's for other users interresting too.
Not sure which echo stetements and where to set, assuming it's that one forums root?

Do you have a pre-made marked.php for that?
Reply With Quote
  #222  
By Morgan on 11-21-2008, 11:28 PM
Default

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;
      }
Reply With Quote
  #223  
By Cocko on 11-23-2008, 01:12 PM
Default

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..
Reply With Quote
  #224  
By Morgan on 11-25-2008, 03:24 AM
Default

Try this code addition. Is it yes or no on screen?
Code:
		$settings = unserialize($vbulletin->GARS_settings);

		if (is_array($settings))
		{
			echo 'Yes ';
		}
		else
		{
			echo 'No ';
		}
		exit();
Reply With Quote
  #225  
By Cocko on 11-25-2008, 01:28 PM
Default

Adding above code and calling /vb3/marked.php?do=show&t=6962
results No with and without XCache var settings.
Reply With Quote
  #226  
By Morgan on 11-28-2008, 03:50 PM
Default

What does this show on screen?
Code:
		$settings = unserialize($vbulletin->GARS_settings);

		echo 'Settings: ' . $vbulletin->GARS_settings;
		exit();
Reply With Quote
  #227  
By Cocko on 11-28-2008, 06:16 PM
Default

Result screen

Settings:
Reply With Quote
  #228  
By Morgan on 12-02-2008, 03:14 AM
Default

Is that with or without XCache on?
Reply With Quote
  #229  
By Cocko on 12-02-2008, 03:42 PM
Default

In both cases
XCache on/off (via config.php)
Reply With Quote
Comment

Release Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

Release powered by GARS 2.1.9 ©2005-2006