Jump to content


Welcome to IPS!

Feel free to browse our community to get a feel for how our community software operates. Post in the pre-sales forum with any questions you have before purchasing or use the Test Posting forum to post a few messages yourself! You can also get a free demo to try the IPS Community Suite yourself.

Already an active IPS client?

Login with the same email address and password you use for the client area to access client-only areas.

Issue information

  • #024662

  • Fixed

  • 2.0.2

  • 2.1.0 Beta 1

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

IP.Content returning gallery directory for IPSLib::getAppDir( $app )

Posted by AndyMillne on 04 August 2010 - 03:44 PM

If you view the URL for the add reputation link on article comments you will see it is...

/index.php?app=core&module=global&section=reputation&do=add_rating&app_rate=gallery&type=pid&type_id=1&rating=1...

after debugging IPSLib::getAppDir( $app ) in /admin/sources/classes/class_reputation_cache.php returns the gallery path...

Line 211

if( file_exists( IPSLib::getAppDir( $app ) . '/extensions/reputation.php' ) )
			{
				require( IPSLib::getAppDir( $app ) . '/extensions/reputation.php' );
			}

Updating status to: Confirmed - Skin Issue

Not tested


Updating status to: Fixed
Updating severity to: 1 - Low
Updating version to: 2.0.2
Issue fixed in: 2.1.0 Beta 1

Do a search replace in skin_ccs_global.php for gallery -> ccs


Thanks for the fix! What folder is that found in? I'm having trouble finding the file.


To manually fix you would need to edit your skins via the look and feel manager in the ACP. Find skin_ccs_global and then go through each template, changing "gallery" to "ccs".


I'm a bit confused, as I'm not using the IPB Wrapper for my site. In that case, does it then pull the skin_ccs_global from the default, or whatever skin the member is using? I found this on four templates- article_comments, comments, topicArticleComments, and topicComments, and changed all of them from gallery to ccs on my default skin, which I'm using- no luck. Is there something I'm missing, or does it have to be done for every single skin to work?

Thanks!


It pulls from the skin that the member is using.


I was unable to get the fix you suggested to work (I went through all the IPC templates I could find and changed what I needed to), but nothing worked. So I decided to wait until the new version of IPC was released to see if that helped. But the problem is still there (even on the default IPB skin) and I have no idea what's wrong. :/


Submit a ticket for support please.






1 user(s) are reading this issue

0 members, 1 guests, 0 anonymous users