NaturalBornSkinner: Add a emoticon/smilies button to the shoutbox - NaturalBornSkinner

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Add a emoticon/smilies button to the shoutbox Rate Topic: -----

#1 User is offline   Zero 

  • I Love NBS
  • PipPipPipPipPipPip
  • Group: Moderators
  • Posts: 602
  • Joined: 08-January 10
  • Thanked: 13
  • Gender:Male
  • Location:UK
  • Interests:PhpFox
  • PHPFox Version:2.0.5
  • Country Flag:United Kingdom(Great Britain)
Kudos: 20
Excellent

Posted 21 November 2010 - 12:07 PM

This is the support topic for the tutorial Add a emoticon/smilies button to the shoutbox. Please post here if you have any questions or feedback.

Andy
0

#2 User is offline   gaga 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 18-October 10
  • Thanked: 1
  • PHPFox Version:2.0.5
  • Country Flag:Serbia(Yugoslavia)
Kudos: 0
Neutral

Posted 23 November 2010 - 04:59 AM

View PostZero, on 21 November 2010 - 12:07 PM, said:

This is the support topic for the tutorial Add a emoticon/smilies button to the shoutbox. Please post here if you have any questions or feedback.



Very good point man, a great addition :nbs_excited:.

0

Thanked by 1 Member:

#3 User is offline   Zero 

  • I Love NBS
  • PipPipPipPipPipPip
  • Group: Moderators
  • Posts: 602
  • Joined: 08-January 10
  • Thanked: 13
  • Gender:Male
  • Location:UK
  • Interests:PhpFox
  • PHPFox Version:2.0.5
  • Country Flag:United Kingdom(Great Britain)
Kudos: 20
Excellent

Posted 23 January 2011 - 09:57 AM

If you have created a new page by following this tutorial: http://naturalbornsk...mber-home-page/

And added the shoutbox block on this page and have the problem with the shoutbox popup showing but you can't click the smilies to insert the code in the textbox.

Then try this fix:

NOTE: Anywhere that is says pagename - change that to the page name that you created in that above tutorial. Home, members, etc.


Open: module/core/include/component/controller/pagename.class.php

Replace everything in that file with:
<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 * 
 * 
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package 		Phpfox_Component
 * @version 		$Id: index.class.php 604 2009-05-29 21:28:02Z Raymond_Benc $
 */
class Core_Component_Controller_pagename extends Phpfox_Component 
{
	/**
 	* Class process method wnich is used to execute this component.
 	*/
		public function process()
	{
		$this->template()->setEditor(array(
					'load' => 'simple'					
			)
		);	
	}
}
?>


Let me know if it works for you too!

Andy
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users