<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteBase / # # Full path to your site # RewriteBase / # Rename Photo Names # RewriteRule ^file/pic/photo/([0-9]+)/([0-9]+)/([A-Za-z0-9]{32}+)\-(.*?)([_0-9]*?)\.(.*)$ file/pic/photo/$1/$2/$3$5.$6 # # Rules # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php?do=/$1 # Image Access Protection # RewriteRule ^file/pic/photo/(.*)\.(.*)$ static/image.php?file=$1&ext=$2</IfModule> # Modify Headers<IfModule mod_headers.c> # Cache files<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$"> Header set Cache-Control "public" Header set Expires "Mon, 20 Apr 2015 20:00:00 GMT" Header unset Last-Modified</FilesMatch> # Cache JavaScript & CSS<FilesMatch "\.(js|css)$"> Header set Cache-Control "public" Header set Expires "Mon, 20 Apr 2015 20:00:00 GMT" Header unset Last-Modified</FilesMatch> </IfModule> # BEGIN GZIP<ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/css text/plain image/svg+xml text/javascript text/xml application/x-javascript text/js image/jpg application/x-httpd-php application/xhtml+xml application/rss+xml application/javascript application/x-httpd-fastphp application/json</ifmodule> # END GZIPAddHandler mode-deflate mod_deflate # @todo This may not be effective in some cases Header unset Pragma FileETag None Header unset ETag # BEGIN Cache-Control Headers<ifModule mod_headers.c> # 1 YEAR<FilesMatch "\.(ico|pdf|flv)$"> Header set Cache-Control "max-age=29030400, public"</FilesMatch> # 1 YEAR<FilesMatch "\.(css|js|php)$"> Header set Cache-Control "max-age=29030400, proxy-revalidate"</FilesMatch> # 3 MONTH<FilesMatch "\.(gif|jpg|png|swf)$"> Header set Cache-Control "max-age=7257600, public"</FilesMatch> # 2 DAYS<FilesMatch "\.(xml|txt)$"> Header set Cache-Control "max-age=172800, proxy-revalidate"</FilesMatch> # 1 MIN<FilesMatch "\.(html|htm)$"> Header set Cache-Control "max-age=60, private, proxy-revalidate"</FilesMatch> </ifModule> # END Cache-Control Headers AddHandler application/x-httpd-php .css # Pass the default character set AddDefaultCharset utf-8
This is featured post 1 title
Replace these every slider sentences with your featured post descriptions.Go to Blogger edit html and find these sentences.Now replace these with your own descriptions.
This is featured post 2 title
Replace these every slider sentences with your featured post descriptions.Go to Blogger edit html and find these sentences.Now replace these with your own descriptions.
Senin, 13 Februari 2012
.htaccess tricks to speed up
Paste all this code into .htaccess file for Apache Based Web Servers. 
Add A Shout Button To The Shoutbox
This tutorial will show you how to add a button to your shoutbox so that members don't have press enter to shout. Some members if not most don't realize you have to press enter.

Open: /module/shoutbox/template/default/block/display.html.php
Find:
Replace with:
Save and close.
Next: Navigate to acp and create new language phrase for shout button

Save entry and clear cache and view the shout button in action. Enjoy!
Open: /module/shoutbox/template/default/block/display.html.php
Find:
<div><input id="js_shoutbox_input" type="text" name="shoutout" size="20" style="width:73%;" maxlength="255" value="" /></div>
Replace with:
<div><input id="js_shoutbox_input" type="text" name="shoutout" size="20" style="width:73%;" maxlength="255" value="" /> <input id="submitButton" class="button" style="vertical-align:top" size="20" value="{phrase var='shoutbox.shoutbox_button'}" maxlength="25" type="submit" /> </div>
Save and close.
Next: Navigate to acp and create new language phrase for shout button
Save entry and clear cache and view the shout button in action. Enjoy!
Redirect mobile users to the mobile version of your site
dd these codes at very top of your THEMES >>> YOUR DEFAULT THEME >>>EDIT TEMPLATES >>> PAGES >>> INDEX.HTML.PHP
replace 'url of your mobile site' with the URL of your mobile website.
Dont follow to +rep
/*****************************/ <?php $mobile_browser = '0'; $mobile_url = 'url of your mobile site'; if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) { $mobile_browser++; } if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) { $mobile_browser++; } $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)); $mobile_agents = array( 'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac', 'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno', 'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-', 'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-', 'newt','noki','oper','palm','pana','pant','phil','play','port','prox', 'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar', 'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-', 'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp', 'wapr','webc','winw','winw','xda ','xda-'); if (in_array($mobile_ua,$mobile_agents)) { $mobile_browser++; } if (strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini') > 0) { $mobile_browser++; } if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'windows') > 0) { $mobile_browser = 0; } if ($mobile_browser > 0) { header("location: $mobile_url"); } else { // Continue loading the PC version. } ?> /*************************************************/
replace 'url of your mobile site' with the URL of your mobile website.
Dont follow to +rep
To to change the URLs of v3 to pretty URLs
HEre's a simple trick on how to change the URL of your phpfox v3 URL from
something like
1. Change Edit the file ~//include/setting/server.sett.php
2. Change the line :
to
3. Save the file.
4. Make sure that the
5. Refresh your web page. Better yet, navigate to MySite.com and try to access the sub menus.
If everything was set up correctly , you should be able to visit pages in the format :
Remember to +rep
something like
MySite.com/index.php?do=/blog/to
MySite.com//blog/
1. Change Edit the file ~//include/setting/server.sett.php
2. Change the line :
$_CONF['core.url_rewrite'] = '2';
to
$_CONF['core.url_rewrite'] = '1';
3. Save the file.
4. Make sure that the
.htaccessis configured accordingly (otherwise , copy the default
htaccess.txtto
.htaccess(not the dot before htaccess ! )
5. Refresh your web page. Better yet, navigate to MySite.com and try to access the sub menus.
If everything was set up correctly , you should be able to visit pages in the format :
MySite.com/blog,
MySite.com/pages..etc
Remember to +rep
Integrating Farmville In to Your phpfox 3 Site
Hey Gang, holler Team here and I'm Pleased To Announce How You Can Integrate Farmville in Your Php-Fox 3 Social Site, Just Follow My Lead
1.) make a page for this, go to AdminCP—CMS--Pages--Add New Page Product: phpFox (V3 the product is Core) Module: User Page Title: (name this what you want) In the Options, make sure you have Add to Menu set to Yes.
2.).In the Options, make sure you have Add to Menu set to Yes. In the User Group Access, make sure you have Guest and Banned unchecked as this is an iframe and not good for guests or banned members to access.
3.) Then Copy This Code Into Page Data
1.) make a page for this, go to AdminCP—CMS--Pages--Add New Page Product: phpFox (V3 the product is Core) Module: User Page Title: (name this what you want) In the Options, make sure you have Add to Menu set to Yes.
2.).In the Options, make sure you have Add to Menu set to Yes. In the User Group Access, make sure you have Guest and Banned unchecked as this is an iframe and not good for guests or banned members to access.
3.) Then Copy This Code Into Page Data
<iframe src="http://farmville.com" name="iframename" scrolling="yes" align="left" height = "1500px" width = "995px"> </iframe>
Google Translate
Support for our add ons is in the forum here. http://scripttechs.com/forum/script-techs-add-ons-...
I have two versions of this add on. Version 2 is what you see on Script Techs here at the top of the screen. Version 1 is larger and looks like the image below.

This add on will put a Google site translator in block 6, site-wide. Just download the attached file, unzip it. Open the upload folder and upload the files within the upload folder to the directory on your server where phpFox is installed (usually public_html).
After uploading the files, go into your AdminCP and go to Extensions-->Products--> Import Products. You will see Script Techs GoTranslate. Click to install it.
Clear your cache.
You can place this block wherever you want it by going to Blocks--Manage Blocks and select Site Wide. Find the gotranslate::gotranslate block and click to the left and edit it. You can also select which user groups have access to this in the edit block screen.
You can see it in action at the top of the screen.
Tags: google translate, free add ons
Attached Files
Download
I have two versions of this add on. Version 2 is what you see on Script Techs here at the top of the screen. Version 1 is larger and looks like the image below.
This add on will put a Google site translator in block 6, site-wide. Just download the attached file, unzip it. Open the upload folder and upload the files within the upload folder to the directory on your server where phpFox is installed (usually public_html).
After uploading the files, go into your AdminCP and go to Extensions-->Products--> Import Products. You will see Script Techs GoTranslate. Click to install it.
Clear your cache.
You can place this block wherever you want it by going to Blocks--Manage Blocks and select Site Wide. Find the gotranslate::gotranslate block and click to the left and edit it. You can also select which user groups have access to this in the edit block screen.
You can see it in action at the top of the screen.
Tags: google translate, free add ons
Attached Files
Download
Poker (App)
1. Upload and extract in ur phpfox root
2. Now go to www.yourdomain.com/apps
3. Create an App
4. Name Your App, Describe it. (Click Next)
5. Dont click save unless you complete the following (Step 6).
6. Upload your Image, Give url ( http://yourdomain.com/tools/apps/pokerr/
Save Settings
Done !
Download
2. Now go to www.yourdomain.com/apps
3. Create an App
4. Name Your App, Describe it. (Click Next)
5. Dont click save unless you complete the following (Step 6).
6. Upload your Image, Give url ( http://yourdomain.com/tools/apps/pokerr/
Save Settings
Done !
Download
[Old Version] Phpfox V3 Beta 5 Nulled (Pefectly & Verified By Moderator)
phpFox.v3.0.0.Beta.5.Community.PHP.NULL-FS
full nulled
download link
http://www.mirrorcreator.com/files/Z2SVJK9H/fs-phpfox300b5_0.zip_links
full nulled
download link
http://www.mirrorcreator.com/files/Z2SVJK9H/fs-phpfox300b5_0.zip_links
Speed up your site
I have found a way that increases your site speed
Go to admincp-cms-blocks-add new block
product-core
module custom
title-leave it empty
type-PHP code
controller-non(sitewide)
placement - block 1
PHP/HTML Code (Optional) :
<?phpob_start("ob_gzhandler");
NOTE DONT PUT ?> or it will crash your site
DONE if it worked rep me
Go to admincp-cms-blocks-add new block
product-core
module custom
title-leave it empty
type-PHP code
controller-non(sitewide)
placement - block 1
PHP/HTML Code (Optional) :
<?phpob_start("ob_gzhandler");
NOTE DONT PUT ?> or it will crash your site
DONE if it worked rep me
Block China Baidu BOT and IP using .htaccses
If you want to block China spammers.and Block BAIDU spider,,you can try this method on your .htaccses
put this code below the end of code in you .htaccsess
put this code below the end of code in you .htaccsess
<Limit GET HEAD POST> order allow,deny # Country: CHINA # ISO Code: CN # Total Networks: 3,458 # Total Subnets: 330,433,792 deny from 1.0.1.0/24 deny from 1.0.2.0/23 deny from 1.0.8.0/21 deny from 1.0.32.0/19 deny from 1.1.0.0/24 deny from 1.1.2.0/23 deny from 1.1.4.0/22 deny from 1.1.8.0/21 deny from 1.1.16.0/20 deny from 1.1.32.0/19 deny from 1.2.0.0/23 deny from 1.2.2.0/24 deny from 1.2.4.0/22 deny from 1.2.8.0/21 deny from 1.2.16.0/20 deny from 1.2.32.0/19 deny from 1.2.64.0/18 deny from 1.3.0.0/16 deny from 1.4.1.0/24 deny from 1.4.2.0/23 deny from 1.4.4.0/24 deny from 1.4.5.0/24 deny from 1.4.6.0/23 deny from 1.4.8.0/21 deny from 1.4.16.0/20 deny from 1.4.32.0/19 deny from 1.4.64.0/18 deny from 1.8.0.0/16 deny from 1.10.0.0/21 deny from 1.10.8.0/23 deny from 1.10.11.0/24 deny from 1.10.12.0/22 deny from 1.10.16.0/20 deny from 1.10.32.0/19 deny from 1.10.64.0/18 deny from 1.12.0.0/14 deny from 1.24.0.0/13 deny from 1.45.0.0/16 deny from 1.48.0.0/15 deny from 1.50.0.0/16 deny from 1.51.0.0/16 deny from 1.56.0.0/13 deny from 1.68.0.0/14 deny from 1.80.0.0/13 deny from 1.88.0.0/14 deny from 1.92.0.0/15 deny from 1.94.0.0/15 deny from 1.116.0.0/14 deny from 1.180.0.0/14 deny from 1.184.0.0/15 deny from 1.188.0.0/14 deny from 1.192.0.0/13 deny from 1.202.0.0/15 deny from 1.204.0.0/14 deny from 14.0.0.0/21 deny from 14.0.12.0/22 deny from 14.1.0.0/22 deny from 14.16.0.0/12 deny from 14.102.128.0/22 deny from 14.102.156.0/22 deny from 14.103.0.0/16 deny from 14.104.0.0/13 deny from 14.112.0.0/12 deny from 14.130.0.0/15 deny from 14.134.0.0/15 deny from 14.144.0.0/12 deny from 14.192.60.0/22 deny from 14.192.76.0/22 deny from 14.196.0.0/15 deny from 14.204.0.0/15 deny from 14.208.0.0/12 deny from 27.8.0.0/13 deny from 27.16.0.0/12 deny from 27.34.232.0/21 deny from 27.36.0.0/14 deny from 27.40.0.0/13 deny from 27.50.40.0/21 deny from 27.50.128.0/17 deny from 27.54.72.0/21 deny from 27.54.152.0/21 deny from 27.54.192.0/18 deny from 27.98.208.0/20 deny from 27.98.224.0/19 deny from 27.99.128.0/17 deny from 27.103.0.0/16 deny from 27.106.128.0/18 deny from 27.106.204.0/22 deny from 27.109.32.0/19 deny from 27.112.0.0/18 deny from 27.112.80.0/20 deny from 27.113.128.0/18 deny from 27.115.0.0/17 deny from 27.116.44.0/22 deny from 27.121.72.0/21 deny from 27.121.120.0/21 deny from 27.128.0.0/15 deny from 27.131.220.0/22 deny from 27.144.0.0/16 deny from 27.148.0.0/14 deny from 27.152.0.0/13 deny from 27.184.0.0/13 deny from 27.192.0.0/11 deny from 27.224.0.0/14 deny from 36.0.0.0/22 deny from 36.0.8.0/21 deny from 36.0.16.0/20 deny from 36.0.32.0/19 deny from 36.0.64.0/18 deny from 36.0.128.0/17 deny from 36.1.0.0/16 deny from 36.4.0.0/14 deny from 36.16.0.0/12 deny from 36.32.0.0/14 deny from 36.36.0.0/16 deny from 36.37.0.0/19 deny from 36.37.36.0/23 deny from 36.37.39.0/24 deny from 36.37.40.0/21 deny from 36.37.48.0/20 deny from 36.40.0.0/13 deny from 36.48.0.0/15 deny from 36.51.0.0/16 deny from 36.56.0.0/13 deny from 36.96.0.0/11 deny from 36.128.0.0/10 deny from 36.192.0.0/11 deny from 36.248.0.0/14 deny from 36.254.0.0/16 deny from 39.0.0.0/24 deny from 39.0.2.0/23 deny from 39.0.4.0/22 deny from 39.0.8.0/21 deny from 39.0.16.0/20 deny from 39.0.32.0/19 deny from 39.0.64.0/18 deny from 39.0.128.0/17 deny from 39.64.0.0/11 deny from 39.128.0.0/10 deny from 42.0.0.0/22 deny from 42.0.8.0/21 deny from 42.0.16.0/21 deny from 42.0.24.0/22 deny from 42.0.32.0/19 deny from 42.0.128.0/17 deny from 42.1.0.0/19 deny from 42.1.32.0/20 deny from 42.1.48.0/21 deny from 42.1.56.0/22 deny from 42.1.128.0/17 deny from 42.4.0.0/14 deny from 42.48.0.0/15 deny from 42.50.0.0/16 deny from 42.51.0.0/16 deny from 42.52.0.0/14 deny from 42.56.0.0/14 deny from 42.62.0.0/17 deny from 42.62.128.0/19 deny from 42.62.160.0/20 deny from 42.62.180.0/22 deny from 42.62.184.0/21 deny from 42.63.0.0/16 deny from 42.80.0.0/15 deny from 42.83.64.0/20 deny from 42.83.80.0/22 deny from 42.83.88.0/21 deny from 42.83.96.0/19 deny from 42.83.128.0/17 deny from 42.84.0.0/14 deny from 42.88.0.0/13 deny from 42.96.64.0/19 deny from 42.96.96.0/21 deny from 42.96.108.0/22 deny from 42.96.112.0/20 deny from 42.96.128.0/17 deny from 42.97.0.0/16 deny from 42.99.0.0/18 deny from 42.99.64.0/19 deny from 42.99.96.0/20 deny from 42.99.112.0/22 deny from 42.99.120.0/21 deny from 42.100.0.0/14 deny from 42.120.0.0/15 deny from 42.122.0.0/16 deny from 42.123.0.0/19 deny from 42.123.36.0/22 deny from 42.123.40.0/21 deny from 42.123.48.0/20 deny from 42.123.64.0/18
How to change admincp link
if you just want to change the name admincp to something else, go to admincp --> cms --> menu and next to admincp select edit from the drop and change URL it from admincp to what ever you want under
Creat Mobile Application for updates
Hi guys
You guys could create a mobile Application for the user so then can check out the updates without going to there browser...
here you go
http://mobile.conduit.com/
just sign up start creating mobile application its working with me i have just completed it and have apply to the following store
Apple store (you could download my site application for testing by going to your broswer in iphone only and type http://chakwalies.mobapp.at and the broswer will open application and ask you to download it download and check it out
Android
Nokia OVI application
it will be available in app store after approving
till that it is for testing only in iphone
Note * You could add feeds link for some updates like blogs,videos, Forums , You could also add your facebook page link in it and live album and many more .. just go and check it youtself.
regards
M.hassan
You guys could create a mobile Application for the user so then can check out the updates without going to there browser...
here you go
http://mobile.conduit.com/
just sign up start creating mobile application its working with me i have just completed it and have apply to the following store
Apple store (you could download my site application for testing by going to your broswer in iphone only and type http://chakwalies.mobapp.at and the broswer will open application and ask you to download it download and check it out
Android
Nokia OVI application
it will be available in app store after approving
till that it is for testing only in iphone
Note * You could add feeds link for some updates like blogs,videos, Forums , You could also add your facebook page link in it and live album and many more .. just go and check it youtself.
regards
M.hassan
How to Make you Signup Form Ajax Like Facebook
1- Login to your Admin Panel
2- Click on Settings
3- Click on Manage Settings
4- Click on Registration
5- Set True For Multi-step Registration Form
6- Click on Submit
hurraaayyyyy
2- Click on Settings
3- Click on Manage Settings
4- Click on Registration
5- Set True For Multi-step Registration Form
6- Click on Submit
hurraaayyyyy
Most Friendly User
AdminCP -> CMS -> Block -> Add new block
Product: Phpfox
Module: User
Title: user::mostfriendlyuser
Type: PHP Code
Controller: core.index-member
Placement: Block 1
PHP Code:
Best Regards
Talha Champ
Product: Phpfox
Module: User
Title: user::mostfriendlyuser
Type: PHP Code
Controller: core.index-member
Placement: Block 1
PHP Code:
<?php $dbase = Phpfox::getLib('database'); $aRow = $dbase->select(Phpfox::getUserField() . ', ur.total_friend AS ifriends') ->from(Phpfox::getT('user'), 'u') ->join(Phpfox::getT('user_field'),'ur','ur.user_id = u.user_id') ->where('ur.total_friend > 0') ->limit(1) ->order('ur.total_friend DESC') ->execute('getRow'); ?> <div class="block"> <div class="title">Most Friendly User</div> <div class="content"> <?php if (count ( $aRow )){ ?> <div class="t_center p_bottom_10" > <?php echo Phpfox::getLib('phpfox.image.helper')->display(array('user' => $aRow,'suffix' => '_200','max_width' => 200,'max_height' => 200)); ?> <div class="p_top_4 t_center"> <?php echo '<a href="' . Phpfox::getLib('phpfox.url')->makeUrl('profile', $aRow['user_name']) . '">' . $aRow['full_name'] . '</a>'; ?><br/> <?php echo $aRow['ifriends']; ?> </div> </div> <div class="clear"></div> </div> </div> <?php } unset($aRow); ?>
Best Regards
Talha Champ
Allow Users to Login Using Username and (or) Email (Both)
If you wish to allow your users to login to your site using their Usernames or Email or both, then follow these steps:
1- Login to your Admin Panel
2- Click on Settings
3- Click on Manage Settings
4- Click on Users
5- Change the settings of User Login Method
There are 3 Options available:
> Both
> Email
> User_Name
now it depends on you how do you want your users to login to your site:)
Don't forget to rep or I'll Poke you in your head ;-)
1- Login to your Admin Panel
2- Click on Settings
3- Click on Manage Settings
4- Click on Users
5- Change the settings of User Login Method
There are 3 Options available:
> Both
> User_Name
now it depends on you how do you want your users to login to your site:)
Don't forget to rep or I'll Poke you in your head ;-)
How to Turn On Email Verification
1- Goto Admin Panel
2 - Goto Settings
3 - Goto Manage Settings
4 - Click Registration
5 - Find Verify Email At Signup
6 -From its drop down menu, set its value to TRUE
Submit and You are done
Thank You
2 - Goto Settings
3 - Goto Manage Settings
4 - Click Registration
5 - Find Verify Email At Signup
6 -From its drop down menu, set its value to TRUE
Submit and You are done
Thank You
[Solved] How To Change Your Icons For The Activity Feed and More
How to change Your Default Icons in Activity Feed and anything Else:) Go To Filezilla or FTP Client then goto
/theme/frontend/default/style/default/image/icon You Can Customize Your Like Button,Share Button Etc
/theme/frontend/default/style/default/image/feed This where you can Change The Activity Feed Icons and Statues Bar Icons
/theme/frontend/default/style/default/image/module Heres where you can change all module icons
Well you get the Picture
Sincerely Yours
The Ho-ll-er Team
/theme/frontend/default/style/default/image/icon You Can Customize Your Like Button,Share Button Etc
/theme/frontend/default/style/default/image/feed This where you can Change The Activity Feed Icons and Statues Bar Icons
/theme/frontend/default/style/default/image/module Heres where you can change all module icons
Well you get the Picture
Sincerely Yours
The Ho-ll-er Team
Freinds Wall Just Like FAcebook
Here You Go:
AdminCP >> Settings >> Manage Settings >> Feed
Set it to True
Have Fun
Best Regards
Talha Champ
AdminCP >> Settings >> Manage Settings >> Feed
Set it to True
Have Fun
Best Regards
Talha Champ
show total quizzes Phpfox3
Goto ACP Tools/Site Stats/Add New Stat
Product: phpFox
Module: Quiz
Title: Quizzes
link: quiz
Image: quiz.png
PHP Code:
Active: Yes
Notes: Upload your new image here /theme/frontend/default/style/default/image/stat/quiz.png - If you don't add one, by default one will be added for you.
Product: phpFox
Module: Quiz
Title: Quizzes
link: quiz
Image: quiz.png
PHP Code:
$this->database() ->select('COUNT(*)') ->from(Phpfox::getT('quiz')) ->where('view_id = 0') ->execute('getSlaveField');
Active: Yes
Notes: Upload your new image here /theme/frontend/default/style/default/image/stat/quiz.png - If you don't add one, by default one will be added for you.
Facebook Activity Block on where u want
Here's how I added a Facebook activity feed block to my site.
AdminCp -->CMS --> Blocks --> Add New Block
Type: HTML Code
Product: PhpFox
Module: Core
Title: Put a title you want
Controller: (what page you want it on) I have it on -core.home (a custom home page)
Placement: Wherever you want it
For the code go to http://developers.facebook.com/docs/reference/plug... and put your info in for your site, customize it how you want and get the code. Copy and paste it into the code area.
Example code (site edited out)
<iframe src="http://www.facebook.com/plugins/activity.php?site=http%3A%2F%2Fmysite&width=300&height=400&header=true&colorscheme=light&recommendations=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:300px;" allowTransparency="true"></iframe>
Select the users you want to be able to see it. Then submit and it should show up. It'll show whatever gets shared from your site. Since I also have a facebook Like button, that stuff shows up too.
Best Regards
Talha Champ
Please Click This
On the Right Side if u like my p0st
AdminCp -->CMS --> Blocks --> Add New Block
Type: HTML Code
Product: PhpFox
Module: Core
Title: Put a title you want
Controller: (what page you want it on) I have it on -core.home (a custom home page)
Placement: Wherever you want it
For the code go to http://developers.facebook.com/docs/reference/plug... and put your info in for your site, customize it how you want and get the code. Copy and paste it into the code area.
Example code (site edited out)
<iframe src="http://www.facebook.com/plugins/activity.php?site=http%3A%2F%2Fmysite&width=300&height=400&header=true&colorscheme=light&recommendations=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:300px;" allowTransparency="true"></iframe>
Select the users you want to be able to see it. Then submit and it should show up. It'll show whatever gets shared from your site. Since I also have a facebook Like button, that stuff shows up too.
Best Regards
Talha Champ
Please Click This
Langganan:
Postingan (Atom)
