Questions tagged [phpfox]

phpFox is a social networking platform created in PHP. This CMS is based on the MVC structure. Most of its functionality is similar to Facebook. It was founded by Raymond Benc in July 2005.

158 questions
0
votes
1 answer

Calling Phpfox::getBlock into template file in PHPFOX

Today I am trying to call Phpfox::getBlock into the template file in PHPfox but its not working. Please have a look where is problem. want to add a php Block core.template-copyright into the file register.html.php I tried to add like…
Sonu Ahmad
  • 29
  • 1
  • 5
0
votes
2 answers

Phpfox Register Page Plugin Call

Can someone please explain this piece of code works in phpfox {plugin call='user.template_default_block_register_step2_7'} Thanks in advance.
0
votes
4 answers

How to change array elements with if/else

How to change the value in array with if/else? CODE: public function getActions() { return array( 'dislike' => array( 'enabled' => true, 'action_type_id' => 2, 'phrase' => Phpfox::getPhrase('like.dislike'), …
0
votes
1 answer

One character only is being returned when using foreach phpfox

I am trying to get some data from a table but when i use foreach it returns only 1 character or the 1st letter/number and one row is returned. Here is my code. home.class.php public function getData() { $aRow =…
oyan11
  • 373
  • 2
  • 7
  • 17
0
votes
2 answers

Phpfox display html from php variable

I am trying to display some html code from a php variable created in a controller like $this->template()->assign(array('html' => "

Ajith chandran

")); But when I write {$html} in template file,this html code is rendering as normal text and…
0
votes
1 answer

Create Multi Column Text in PhpFox inside Blog/Events/Pages Text Editor

PhpFox Tiny MCE Editor lets us write regular single column text. How can i write three column text like in other CMS's. Anyone?
0
votes
0 answers

How to display special characters in PHPFOX

I have a phrase where I am not able to display single quote. This phrase is used to send as subject to email and single quote is displayed in ASCII The phrase is {full_name} commented on {other_full_name}'s recipe.
Steffi
  • 255
  • 1
  • 3
  • 14
0
votes
1 answer

Where is and which function does encode or decode URL in phpfox?

I'll be wonder if you tell me how phpfox handle URLs? In details i want to know that which function gererates urls in PHPFox? I have some problem with encoding or decoding of PHPFox. Because it transform some urls which is in Persian language to…
0
votes
0 answers

PHPFox persian url in IIS server transforms to question mark

I have installed phpfox in a IIS server which supports php 5.x But URLs transforms to ????? when i click on some persian links. For example i should have a link like : http://mydomain.com/index.php?do=/photo/album/6/اخبار/ which is like…
0
votes
1 answer

Make Phpfox default layout fluid width?

Make Phpfox default layout fluid width? Hi all. I am using phpfox v 3.7.7 and I want my website to have a full width layout. Question: How do I make the default phpfox layout fluid width? ...with a minimum screen width of 780px and a max screen…
0
votes
1 answer

Replace forward to back slash in query string

MySql Code SELECT replace(replace(v.image_path,"\\","/"),"%s","_120") as image_path FROM `artistkr_fox`.`phpfox_video` v; My phpfox service file query string $aVideos = $this->database()->select("REPLACE(REPLACE(v.image_path,'\','/'),'%s','_120')…
Vijay
  • 13
  • 3
0
votes
1 answer

Which folder is used to create Newsfeed in PHPFOX V 3.7.2?

I want to modify template for News Feed so it looks better. I'm unable to find Which folder/folders is/are used to Create News feed IN PHPFOX since it contains almost 7000 files. Can any one help me in finding folder/folders for NewsFeed…
0
votes
1 answer

How user can login to custom group in phpfox

I am new to php fox , i have a problem in user group module, i understand how to create user group module and the settings of that group but my problem is i am not able to go to the custom user group, always it is going to registered user . please…
Harsha Mullangi
  • 474
  • 1
  • 6
  • 27
0
votes
2 answers

how to fetch the current user data in phpfox

Topic: Fetch current user(some particular fields) data from the DB and display it on the Welcome Screen. Explaination of UI : On the Registration Page, A dropdown would appear. As the user selects an option, it would trigger an event to fetch user…
sangita
  • 1
  • 2
0
votes
1 answer

how ajax site wide browsing works on phpfox?

i'm trying to use ajax wide browsing on phpfox but i dont understand how it works, any idea please ? i found in static/jscript/main.js this code : $Core.ajax = function(sCall, $oParams) { var sParams = '&' + getParam('sGlobalTokenName') +…
Mohamed
  • 19
  • 4