Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - FAP On A CH Modded Board 
 
I am trying to install FAP, using a CH modded board.  Some of the lines in the files are not there so dont know where to put them....

I have been told by some of the guys over at CH that FAP should work with CH, but I can't seem to do it.

Any help be appreciated
 



 
macxr8Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
If you can not find the lines specified, just try to do partial searchs...

But Ptirhiik has a lot of knowledge about programming and have modified hugely phpBB so I think if you do partial searchs you'll not find it neither...
Please tell us which instructions you can't find and we'll try to help you.

Also, your CH version would help

Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
yea realised after some  more info would be handy

Anyhow, CH ver 2.1.6g
              PHPbb ver 2.0.22
Code: [Download] [Hide]
  1. #  
  2. #-----[ OPEN ]------------------------------------------------  
  3. #  
  4. admin/index.php  
  5. #  
  6. #-----[ FIND ]------------------------------------------------  
  7. #  
  8.                         case PAGE_FAQ:  
  9.                             $location = $lang['Viewing_FAQ'];  
  10.                             $location_url = "index.$phpEx?pane=right";  
  11.                             break;  
  12. #  
  13. #-----[ AFTER, ADD ]------------------------------------------  
  14. #  
  15.                         // Mighty Gorgon - Full Album Pack - BEGIN  
  16.                         case PAGE_ALBUM:  
  17.                             $location = $lang['View_Album_Index'];  
  18.                             $location_url = "index.$phpEx?pane=right";  
  19.                             break;  
  20.                         case PAGE_ALBUM_PERSONAL:  
  21.                             $location = $lang['View_Album_Personal'];  
  22.                             $location_url = "index.$phpEx?pane=right";  
  23.                             break;  
  24.                         case PAGE_ALBUM_PICTURE:  
  25.                             $location = $lang['View_Pictures'];  
  26.                             $location_url = "index.$phpEx?pane=right";  
  27.                             break;  
  28.                         case PAGE_ALBUM_SEARCH:  
  29.                             $location = $lang['Album_Search'];  
  30.                             $location_url = "index.$phpEx?pane=right";  
  31.                             break;  
  32.                         // Mighty Gorgon - Full Album Pack - END  
  33.  

Code: [Download] [Hide]
  1. #-----[ OPEN ]------------------------------------------------  
  2. #  
  3. templates/subSilver/overall_header.tpl  
  4.  
  5. [ FIND]  
  6.  
  7. {L_USERGROUPS}</a>&nbsp;  
  8.  
  9.  


This one I am using a customized version and it doesnt have much in it.

here is my overall_header.tpl
Code: [Download] [Hide]
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
  2. <html dir="{S_CONTENT_DIRECTION}">  
  3. <link rel="stylesheet" href="templates/subSilver/FAP.css" type="text/css" />  
  4. <head>  
  5. <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">  
  6. <meta http-equiv="Content-Style-Type" content="text/css">  
  7. {META}  
  8. {NAV_LINKS}  
  9. <title>{SITENAME} :: {PAGE_TITLE}</title>  
  10. <link rel="stylesheet" href="templates/c3s/{T_HEAD_STYLESHEET}" type="text/css">  
  11. <!-- BEGIN switch_enable_pm_popup -->  
  12. <script language="Javascript" type="text/javascript">  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. if ( {PRIVATE_MESSAGE_NEW_FLAG} ) {  
  19.  
  20.  
  21.     window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');  
  22.  
  23.  
  24. }  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. function newImage(arg) {  
  31.  
  32.  
  33.     if (document.images) {  
  34.  
  35.  
  36.         rslt = new Image();  
  37.  
  38.  
  39.         rslt.src = arg;  
  40.  
  41.  
  42.         return rslt;  
  43.  
  44.  
  45.     }  
  46.  
  47.  
  48. }  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. function changeImages() {  
  55.  
  56.  
  57.     if (document.images && (preloadFlag == true)) {  
  58.  
  59.  
  60.         for (var i=0; i<changeImages.arguments.length; i+=2) {  
  61.  
  62.  
  63.             document[changeImages.arguments[i]].src = changeImages.arguments[i+1];  
  64.  
  65.  
  66.         }  
  67.  
  68.  
  69.     }  
  70.  
  71.  
  72. }  
  73.  
  74.  
  75.  
  76.  
  77.  
  78. var preloadFlag = false;  
  79.  
  80.  
  81. function preloadImages() {  
  82.  
  83.  
  84.     if (document.images) {  
  85.  
  86.  
  87.         over_profile = newImage(/*URL*/'templates/c3s/images/profile_on.jpg');  
  88.  
  89.  
  90.         over_faq = newImage(/*URL*/'templates/c3s/images/faq_on.jpg');  
  91.  
  92.  
  93.         over_search = newImage(/*URL*/'templates/c3s/images/search_on.jpg');  
  94.  
  95.  
  96.         over_memberlist = newImage(/*URL*/'templates/c3s/images/memberlist_on.jpg');  
  97.  
  98.  
  99.         over_usergroups = newImage(/*URL*/'templates/c3s/images/usergroups_on.jpg');  
  100.  
  101.  
  102.         over_register = newImage(/*URL*/'templates/c3s/images/register_on.jpg');  
  103.  
  104.  
  105.         over_preferences = newImage(/*URL*/'templates/c3s/images/preferences_on.jpg');  
  106.  
  107.  
  108.         over_pms = newImage(/*URL*/'templates/c3s/images/pms_on.jpg');  
  109.  
  110.  
  111.         over_login = newImage(/*URL*/'templates/c3s/images/login_on.jpg');  
  112.  
  113.  
  114.         preloadFlag = true;  
  115.  
  116.  
  117.     }  
  118.  
  119.  
  120. }  
  121.  
  122.  
  123.  
  124.  
  125.  
  126. </script>  
  127.  
  128. <!-- END switch_enable_pm_popup -->  
  129. </head>  
  130. <body onLoad="preloadImages();" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. <table width="805" height="190" border="0" align="center" cellpadding="0" cellspacing="0">  
  137.  
  138.  
  139.     <tr>  
  140.  
  141.  
  142.         <td rowspan="5"><a name="top"></a><img src="templates/c3s/images/header_01.jpg" width="44" height="137" alt=""></td>  
  143.  
  144.  
  145.         <td rowspan="5"><img src="templates/c3s/images/header_02.jpg" width="42" height="137" alt=""></td>  
  146.  
  147.  
  148.         <td colspan="2"><img src="templates/c3s/images/header_03.jpg" alt="" width="94" height="40" border="0"></td>  
  149.  
  150.  
  151.         <td colspan="3"><a href="{U_MEMBERLIST}" onMouseOut="changeImages('Memberlist','templates/c3s/images/memberlist.jpg')" onMouseOver="changeImages('Memberlist','templates/c3s/images/memberlist_on.jpg')"><img src="templates/c3s/images/memberlist.jpg" name="Memberlist" width="173" height="40" border="0"></a></td>  
  152.  
  153.  
  154.         <td rowspan="7"><a href="http://www.trueblueford.com/index2.html"><img src="templates/c3s/images/header_05.jpg" alt="" width="111" height="189" border="0"></a></td>  
  155.  
  156.  
  157.         <!-- BEGIN switch_user_logged_out -->  
  158.  
  159.  
  160.         <td colspan="3"><a href="{U_REGISTER}" onMouseOut="changeImages('Reg','templates/c3s/images/register.jpg')" onMouseOver="changeImages('Reg','templates/c3s/images/register_on.jpg')"><img src="templates/c3s/images/register.jpg" name="Reg" width="177" height="40" border="0"></a></td>  
  161.  
  162.  
  163.         <!-- END switch_user_logged_out -->  
  164.  
  165.  
  166.         <!-- BEGIN switch_user_logged_in -->  
  167.  
  168.  
  169.         <td colspan="3"><a href="{U_PREFERENCES}" onMouseOut="changeImages('Pref','templates/c3s/images/preferences.jpg')" onMouseOver="changeImages('Pref','templates/c3s/images/preferences_on.jpg')"><img src="templates/c3s/images/preferences.jpg" name="Pref" width="177" height="40" border="0"></a></td>  
  170.  
  171.  
  172.         <!-- END switch_user_logged_in -->  
  173.  
  174.  
  175.         <td colspan="3"><img src="templates/c3s/images/header_07.jpg" width="117" height="40" alt=""></td>  
  176.  
  177.  
  178.         <td rowspan="5"><img src="templates/c3s/images/header_08.jpg" width="17" height="137" alt=""></td>  
  179.  
  180.  
  181.         <td rowspan="5"><img src="templates/c3s/images/header_09.jpg" width="29" height="137" alt=""></td>  
  182.  
  183.  
  184.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="40" alt=""></td>  
  185.  
  186.  
  187.     </tr>  
  188.  
  189.  
  190.     <tr>  
  191.  
  192.  
  193.         <td colspan="3"><a href="{U_SEARCH}" onMouseOut="changeImages('Search','templates/c3s/images/search.jpg')" onMouseOver="changeImages('Search','templates/c3s/images/search_on.jpg')"><img src="templates/c3s/images/search.jpg" name="Search" width="181" height="35" border="0"></a></td>  
  194.  
  195.  
  196.         <td colspan="2"><img src="templates/c3s/images/header_11.jpg" width="86" height="35" alt=""></td>  
  197.  
  198.  
  199.         <td colspan="2"><img src="templates/c3s/images/header_12.jpg" width="89" height="35" alt=""></td>  
  200.  
  201.  
  202.         <td colspan="3"><a href="{U_GROUP_CP}" onMouseOut="changeImages('Usergroups','templates/c3s/images/usergroups.jpg')" onMouseOver="changeImages('Usergroups','templates/c3s/images/usergroups_on.jpg')"><img src="templates/c3s/images/usergroups.jpg" name="Usergroups" width="183" height="35" border="0"></a></td>  
  203.  
  204.  
  205.         <td rowspan="2"><img src="templates/c3s/images/header_14.jpg" width="22" height="70" alt=""></td>  
  206.  
  207.  
  208.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="35" alt=""></td>  
  209.  
  210.  
  211.     </tr>  
  212.  
  213.  
  214.     <tr>  
  215.  
  216.  
  217.         <td rowspan="2"><img src="templates/c3s/images/header_15.jpg" width="70" height="41" alt=""></td>  
  218.  
  219.  
  220.         <td colspan="4" rowspan="2"><a href="{U_FAQ}" onMouseOut="changeImages('FAQS','templates/c3s/images/faq.jpg')" onMouseOver="changeImages('FAQS','templates/c3s/images/faq_on.jpg')"><img src="templates/c3s/images/faq.jpg" name="FAQS" width="197" height="41" border="0"></a></td>  
  221.  
  222.  
  223.         <td colspan="4"><a href="{U_PRIVATEMSGS}" onMouseOut="changeImages('PM','templates/c3s/images/pms.jpg')" onMouseOver="changeImages('PM','templates/c3s/images/pms_on.jpg')"><img src="templates/c3s/images/pms.jpg" name="PM" width="196" height="35" border="0"></a></td>  
  224.  
  225.  
  226.         <td><img src="templates/c3s/images/header_18.jpg" width="76" height="35" alt=""></td>  
  227.  
  228.  
  229.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="35" alt=""></td>  
  230.  
  231.  
  232.     </tr>  
  233.  
  234.  
  235.     <tr>  
  236.  
  237.  
  238.         <td rowspan="3"><img src="templates/c3s/images/header_19.jpg" width="84" height="49" alt=""></td>  
  239.  
  240.  
  241.         <td colspan="5" rowspan="3"><a href="{U_LOGIN_LOGOUT}" onMouseOut="changeImages('LogIn','templates/c3s/images/login.jpg')" onMouseOver="changeImages('LogIn','templates/c3s/images/login_on.jpg')"><img src="templates/c3s/images/login.jpg" name="LogIn" width="210" height="49" border="0"></a></td>  
  242.  
  243.  
  244.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="6" alt=""></td>  
  245.  
  246.  
  247.     </tr>  
  248.  
  249.  
  250.     <tr>  
  251.  
  252.  
  253.         <td colspan="4" rowspan="2"><a href="{U_PROFILE}" onMouseOut="changeImages('Profile','templates/c3s/images/profile.jpg')" onMouseOver="changeImages('Profile','templates/c3s/images/profile_on.jpg')"><img src="templates/c3s/images/profile.jpg" name="Profile" width="215" height="43" border="0"></a></td>  
  254.  
  255.  
  256.         <td rowspan="3"><img src="templates/c3s/images/header_22.jpg" width="52" height="73" alt=""></td>  
  257.  
  258.  
  259.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="21" alt=""></td>  
  260.  
  261.  
  262.     </tr>  
  263.  
  264.  
  265.     <tr>  
  266.  
  267.  
  268.         <td colspan="2" rowspan="2"><img src="templates/c3s/images/header_23.jpg" width="86" height="52" alt=""></td>  
  269.  
  270.  
  271.         <td colspan="2" rowspan="2"><img src="templates/c3s/images/header_24.jpg" width="46" height="52" alt=""></td>  
  272.  
  273.  
  274.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="22" alt=""></td>  
  275.  
  276.  
  277.     </tr>  
  278.  
  279.  
  280.     <tr>  
  281.  
  282.  
  283.         <td colspan="4"><img src="templates/c3s/images/header_25.jpg" width="215" height="30" alt=""></td>  
  284.  
  285.  
  286.         <td colspan="6"><img src="templates/c3s/images/header_26.jpg" width="294" height="30" alt=""></td>  
  287.  
  288.  
  289.         <td><img src="templates/c3s/images/spacer.gif" width="1" height="30" alt=""></td>  
  290.  
  291.  
  292.     </tr>  
  293.  
  294.  
  295.     <tr>  
  296.  
  297.  
  298.         <td><img src="templates/c3s/images/spacer.gif" width="44" height="1" alt=""></td>  
  299.  
  300.  
  301.         <td><img src="templates/c3s/images/spacer.gif" width="42" height="1" alt=""></td>  
  302.  
  303.  
  304.         <td><img src="templates/c3s/images/spacer.gif" width="70" height="1" alt=""></td>  
  305.  
  306.  
  307.         <td><img src="templates/c3s/images/spacer.gif" width="24" height="1" alt=""></td>  
  308.  
  309.  
  310.         <td><img src="templates/c3s/images/spacer.gif" width="87" height="1" alt=""></td>  
  311.  
  312.  
  313.         <td><img src="templates/c3s/images/spacer.gif" width="34" height="1" alt=""></td>  
  314.  
  315.  
  316.         <td><img src="templates/c3s/images/spacer.gif" width="52" height="1" alt=""></td>  
  317.  
  318.  
  319.         <td><img src="templates/c3s/images/spacer.gif" width="111" height="1" alt=""></td>  
  320.  
  321.  
  322.         <td><img src="templates/c3s/images/spacer.gif" width="84" height="1" alt=""></td>  
  323.  
  324.  
  325.         <td><img src="templates/c3s/images/spacer.gif" width="5" height="1" alt=""></td>  
  326.  
  327.  
  328.         <td><img src="templates/c3s/images/spacer.gif" width="88" height="1" alt=""></td>  
  329.  
  330.  
  331.         <td><img src="templates/c3s/images/spacer.gif" width="19" height="1" alt=""></td>  
  332.  
  333.  
  334.         <td><img src="templates/c3s/images/spacer.gif" width="76" height="1" alt=""></td>  
  335.  
  336.  
  337.         <td><img src="templates/c3s/images/spacer.gif" width="22" height="1" alt=""></td>  
  338.  
  339.  
  340.         <td><img src="templates/c3s/images/spacer.gif" width="17" height="1" alt=""></td>  
  341.  
  342.  
  343.         <td><img src="templates/c3s/images/spacer.gif" width="29" height="1" alt=""></td>  
  344.  
  345.  
  346.         <td></td>  
  347.  
  348.  
  349.     </tr>  
  350.  
  351. </table>  
  352.  
  353.         <br />  
  354.         {CALENDAR_BOX}  
  355.         <!-- Start CH IMPortal -->  
  356.     <table width="100%" border="0" cellspacing="0" cellpadding="0">  
  357.         <tr>  
  358.             {PORTAL_HEADER}  
  359.             <td width="10"><img src="{I_SPACER}" alt="" width="10" height="30" /></td>  
  360.             <td valign="top">  
  361. <!-- Finish CH IMPortal -->  
  362.  


thats about it.
I have done all the other editing, and from the ACP it seems to be working from there.

Again any help appreciated.
 



 
macxr8Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
No problem

I think this would work:
Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]------------------------------------------------
#
includes/class_stats_online.php
#
#-----[ FIND ]------------------------------------------------
#
            PAGE_GROUPCP => array('txt' => 'Viewing_groups', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'groupcp', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()),
#
#-----[ AFTER, ADD ]------------------------------------------
#
            // Mighty Gorgon - Full Album Pack - BEGIN
            PAGE_ALBUM => array('txt' => 'View_Album_Index', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'album', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()),
            PAGE_ALBUM_PERSONAL => array('txt' => 'View_Album_Personal', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'album', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()),
            PAGE_ALBUM_PICTURE => array('txt' => 'View_Pictures', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'album', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()),
            PAGE_ALBUM_SEARCH => array('txt' => 'Album_Search', 'url' => $this->mode == 'in_admin' ? 'admin/index' : 'album', 'parms' => $this->mode == 'in_admin' ? array('pane' => 'right') : array()),
            // Mighty Gorgon - Full Album Pack - END

Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------------
#
        <td colspan="4" rowspan="2"><a href="{U_FAQ}" onMouseOut="changeImages('FAQS','templates/c3s/images/faq.jpg')" onMouseOver="changeImages('FAQS','templates/c3s/images/faq_on.jpg')"><img src="templates/c3s/images/faq.jpg" name="FAQS" width="197" height="41" border="0"></a></td>
#
#-----[ AFTER, ADD ]------------------------------------------------
#
        <td colspan="4" rowspan="2"><a href="{U_ALBUM}" onMouseOut="changeImages('ALBUM','templates/c3s/images/album.jpg')" onMouseOver="changeImages('ALBUM','templates/c3s/images/album_on.jpg')"><img src="templates/c3s/images/album.jpg" name="ALBUM" width="197" height="41" border="0"></a></td>

You'll have to create templates/c3s/images/album.jpg and templates/c3s/images/album_on.jpg images.

Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
seems to be working ok my test PC.


however I have found another piece of code

Code: [Download] [Hide]
  1. viewonline.php  
  2. #  
  3. #-----[ FIND ]------------------------------------------------  
  4. #  
  5.                 case PAGE_FAQ:  
  6.                     $location = $lang['Viewing_FAQ'];  
  7.                     $location_url = "faq.$phpEx";  
  8.                     break;  
  9. #  
  10. #-----[ AFTER, ADD ]------------------------------------------  
  11. #  
  12.                 // Mighty Gorgon - Full Album Pack - BEGIN  
  13.                 case PAGE_ALBUM:  
  14.                     $location = $lang['View_Album_Index'];  
  15.                     $location_url = "album.$phpEx";  
  16.                     break;  
  17.                 case PAGE_ALBUM_PERSONAL:  
  18.                     $location = $lang['View_Album_Personal'];  
  19.                     $location_url = "album_personal_index.$phpEx";  
  20.                     break;  
  21.                 case PAGE_ALBUM_PICTURE:  
  22.                     $location = $lang['View_Pictures'];  
  23.                     $location_url = "album.$phpEx";  
  24.                     break;  
  25.                 case PAGE_ALBUM_SEARCH:  
  26.                     $location = $lang['Album_Search'];  
  27.                     $location_url = "album.$phpEx";  
  28.                     break;  
  29.                 // Mighty Gorgon - Full Album Pack - END  
  30.  


thanks for your help
 



 
macxr8Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
I think this modification is unnecessary. Ask a user to enter album search and then go to Who is online section.
It should show the user is in album search. If it doesn't, I'll search the solution

Greets!
 




____________
Gabriel Anca
 
KasLimonSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: FAP On A CH Modded Board 
 
thanks, that all seems to be working well now, so far am limiting access to certain members of the board to help debug it then I will release to all members
 



 
macxr8Send private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron