View Thread
Who is here? 1 guest(s)
|
XHTML mod for modern mobiles
|
|
| dothemath |
Posted on 12-12-2011 10:11
|
|
Addicated Frequent Poster ![]() Posts: 233 Joined: 15/06/2008 08:46 |
New in version 5.9 * Russian locale. New in version 5.8 * Add DB_SHOUTBOX definition to wap-maincore.php file. * Fix smiley parse in wap-maincore.php file. Please contribute and amend translations... ![]() The download file is available at the following addres: Mobile mod for PHP-Fusion v7.02 download page Unfortunately Diemux doesn't have the time to approve the last version, so here you can find only a older version: A old version of Mobile mod for PHP-Fusion v7.02 download page |
|
|
|
| Diemux |
Posted on 20-01-2012 11:54
|
|
Site Owner ![]() Posts: 1301 Joined: 29/02/2008 12:34 |
Updated the download to latest version! http://www.phpfus...mod_id=384 Isn't life beautiful they way it is?
Underground3k.com |
|
|
|
| wheeler |
Posted on 04-02-2012 23:41
|
|
Newbie ![]() Posts: 12 Joined: 20/09/2009 03:44 |
Updated with the latest files mate and ive got the following: Parse error: syntax error, unexpected ')' in /home/wwwstree/public_html/wap2/wap-maincore.php on line 460 Edited by NetriX on 12-02-2012 21:57 |
|
|
|
| jekov |
Posted on 05-02-2012 08:35
|
|
Newbie ![]() Posts: 6 Joined: 31/08/2011 05:28 |
Thank's ,dothemath ! Very nice working mod. I use xhtml_mobile_mod_5.9v7.02 and my error log is: wap2/wap-shouts.php Undefined index: global_153 Line: 169 Undefined index: numofshouts Line: 178 Undefined index: global_156 Line: 201 wap2/wap-maincore.php mysql_num_rows(): supplied argument is not a valid MySQL result resource Line: 233 Wap-shouts page show error mesage, but shuts are sending: Notice: Use of undefined constant TRUE_PHP_SELF - assumed 'TRUE_PHP_SELF' in /home/a7176646/public_html/includes/error_handling_include.php on line 47 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 Edited by jekov on 05-02-2012 22:25 |
|
|
|
| dothemath |
Posted on 10-02-2012 02:01
|
|
Addicated Frequent Poster ![]() Posts: 233 Joined: 15/06/2008 08:46 |
New in version 6.0 * Compatible with the changes made in version 7.02.04 . * Fix bugs in wap-maincore.php file. * Add Locales. * Fix wap-Shout.php Please contribute and amend translations... ![]() The download file is available at the following addres: Mobile mod for PHP-Fusion v7.02 download page Unfortunately Diemux doesn't have the time to approve the last version, so here you can find only a older version: A old version of Mobile mod for PHP-Fusion v7.02 download page Edited by dothemath on 10-02-2012 02:06 |
|
|
|
| wheeler |
Posted on 10-02-2012 06:10
|
|
Newbie ![]() Posts: 12 Joined: 20/09/2009 03:44 |
Multiple erroes still mate on this, fresh install of php fusion 7.02 and with the files, still get Parse error: syntax error, unexpected ' ' in /home/wwwstree/public_html/wap2/wap-maincore.php on line 460 |
|
|
|
| jekov |
Posted on 10-02-2012 12:56
|
|
Newbie ![]() Posts: 6 Joined: 31/08/2011 05:28 |
Thank's ,dothemath ! Now, wap2 v6.0 mod is work without errors, but only after small corrections in wap-maincore.php to display smiles : 460 $smiley_image = "<img src='".IMAGES.("smiley/".$smiley['smiley_text']).".gif' alt='".$smiley['smiley_text']."' style='vertical-align:middle;' />";http://troyanovo....shouts.php Here in attache, is updated Bulgarian translation for xhtml_mobile_mod_6.0v7.02
jekov attached the following file:
Edited by jekov on 11-02-2012 05:17 |
|
|
|
| dothemath |
Posted on 11-02-2012 07:40
|
|
Addicated Frequent Poster ![]() Posts: 233 Joined: 15/06/2008 08:46 |
New in version 6.1 * Fix bugs in wap-maincore.php file - thanks to jekov * Improve Bulgarian locale - thanks to jekov Please contribute and amend translations... ![]() The download file will be available after approval at the following addres: PHPfusion-mods.net Mobile mod for PHP-Fusion v7.02 download page or at: Official Mobile mod for PHP-Fusion v7.02 download page Edited by dothemath on 11-02-2012 07:55 |
|
|
|
| NetriX |
Posted on 11-02-2012 13:16
|
|
Addicated Frequent Poster ![]() Posts: 393 Joined: 01/05/2008 13:30 |
Updated the file to the latest version (6.1). http://www.phpfus...mod_id=384 This mod is currently pending. You will not be able to download at this time. Please bare with us as the issue is being addressed and could take some time. Edited by NetriX on 11-02-2012 14:18 |
|
|
|
| jekov |
Posted on 12-02-2012 03:57
|
|
Newbie ![]() Posts: 6 Joined: 31/08/2011 05:28 |
Hi, dothemath ! There still shows 'Fatal error: Call to undefined function makepagenav() in wap-members.php on line 175' & therefore, on members page is missing navigation links below: 175 if ($rows > 20) echo "<div align='center' style='margin-top:5px;'>\n".makepagenav($_GET['rowstart'],20,$rows,3,FUSION_SELF.$aidlink."&".$list_link."&status=".$_GET['status']."&")."\n</div>\n";I have changed ($rows > 20) with ($total_rows > 20) and there appears navigation links below, but i think that's not so correct. |
|
|
|
| NetriX |
Posted on 12-02-2012 09:28
|
|
Addicated Frequent Poster ![]() Posts: 393 Joined: 01/05/2008 13:30 |
jekov wrote: Hi, dothemath ! There still shows 'Fatal error: Call to undefined function makepagenav() in wap-members.php on line 175' & therefore, on members page is missing navigation links below: 175 if ($rows > 20) echo "<div align='center' style='margin-top:5px;'>\n".makepagenav($_GET['rowstart'],20,$rows,3,FUSION_SELF.$aidlink."&".$list_link."&status=".$_GET['status']."&")."\n</div>\n";I have changed ($rows > 20) with ($total_rows > 20) and there appears navigation links below, but i think that's not so correct. If I remember correctly, several functions where stripped when he edited the maincore.php file. You'll need to add the following to the core.php/maincore.php file whichever it may be for this addon. // Making Page NavigationThat should address the problem. If you still have that error, ensure that the core.php/maincore.php files are required in the head of the script. Good Luck, NetriX |
|
|
|
| jekov |
Posted on 12-02-2012 10:07
|
|
Newbie ![]() Posts: 6 Joined: 31/08/2011 05:28 |
Thank's NetriX ! Your code is working correctly by inserting in wap-maincore.php. By the way, this code is presented in wap-maincore.php , starting from line 809 -859, but was inactive . Great ! In attache is updated Bulgarian translation for xhtml_mobile_mod_6.1v7.02
jekov attached the following file:
Edited by jekov on 12-02-2012 11:56 |
|
|
|
| wheeler |
Posted on 12-02-2012 12:51
|
|
Newbie ![]() Posts: 12 Joined: 20/09/2009 03:44 |
Any idea with the syntax error I posted, this is a good mod I've had it working fine in tge past, help appreciated |
|
|
|
| NetriX |
Posted on 12-02-2012 21:59
|
|
Addicated Frequent Poster ![]() Posts: 393 Joined: 01/05/2008 13:30 |
wheeler wrote: Multiple erroes still mate on this, fresh install of php fusion 7.02 and with the files, still get Parse error: syntax error, unexpected ')' in /home/wwwstree/public_html/wap2/wap-maincore.php on line 460 Could you copy and paste all data from lines 450 to 470 so I can get a more detailed analysis of the problem. I do not have access to the script at this time. Thanks, NetriX Edited by NetriX on 12-02-2012 21:59 |
|
|
|
| jekov |
Posted on 13-02-2012 04:52
|
|
Newbie ![]() Posts: 6 Joined: 31/08/2011 05:28 |
Hi Guys! In wap-gallery-in.php & web-gallery.php I have replaced thumb1 -with-> thumb2 and added resize width='270' for best view: echo "<tr><td class='blue4'><div class='center'><img src='".PHOTOS."album_".$data['album_id']."/".$data['photo_thumb2']."' width='270' alt='".$data['photo_title']."' /></div></td></tr>";Edited by jekov on 13-02-2012 04:54 |
|
|
|
| afoster |
Posted on 13-02-2012 06:43
|
|
Frequent poster ![]() Posts: 161 Joined: 25/07/2008 05:43 |
Some of the posts in this thread make it sound as if the mod has been released, but the link shows that it is invalid. Is the new version available now or not? |
|
|
|
| NetriX |
Posted on 13-02-2012 07:54
|
|
Addicated Frequent Poster ![]() Posts: 393 Joined: 01/05/2008 13:30 |
afoster wrote: Some of the posts in this thread make it sound as if the mod has been released, but the link shows that it is invalid. Is the new version available now or not? It's currently pending because of some issues involving the submission system. Once the developer gets online and submits the file again, it will be available. Unless anyone has v6.1 source and would like to share here as an attachment, the mod remains unavailable for the time being. Sorry for the inconvenience. -NetriX |
|
|
|
| dothemath |
Posted on 13-02-2012 10:25
|
|
Addicated Frequent Poster ![]() Posts: 233 Joined: 15/06/2008 08:46 |
New in version 6.2 * Fix bugs in wap-maincore.php file Please contribute and amend translations... ![]() The download file will be available after approval at the following addres: PHPfusion-mods.net Mobile mod for PHP-Fusion v7.02 download page and at: Official Mobile mod for PHP-Fusion v7.02 download page |
|
|
|
| wheeler |
Posted on 13-02-2012 10:37
|
|
Newbie ![]() Posts: 12 Joined: 20/09/2009 03:44 |
NetriX wrote: wheeler wrote: Multiple erroes still mate on this, fresh install of php fusion 7.02 and with the files, still get Parse error: syntax error, unexpected ')' in /home/wwwstree/public_html/wap2/wap-maincore.php on line 460 Could you copy and paste all data from lines 450 to 470 so I can get a more detailed analysis of the problem. I do not have access to the script at this time. Thanks, NetriX Hi Here is the area you asked for, thanks for the help // Parse smiley bbcode |
|
|
|
| NetriX |
Posted on 13-02-2012 13:14
|
|
Addicated Frequent Poster ![]() Posts: 393 Joined: 01/05/2008 13:30 |
@Wheeler - You're not using the latest version. Download: v6.2 @ http://phpfusion-...mod_id=384 If that fails, try this: // Parse smiley bbcode
function parsesmileys($message) { global $smiley_cache; if (!preg_match("#(\[code\](.*?)\[/code\]|\[geshi=(.*?)\](.*?)\[/geshi\]|\[php\](.*?)\[/php\])#si", $message)) { if (!$smiley_cache) { cache_smileys(); } if (is_array($smiley_cache) && count($smiley_cache)) { foreach ($smiley_cache as $smiley) { $smiley_code = preg_quote($smiley['smiley_code'], '#'); $smiley_image = "<img src='".IMAGES("smiley/".$smiley['smiley_text']).".gif' alt='".$smiley['smiley_text']."' style='vertical-align:middle' />"; $message = preg_replace("#{$smiley_code}#si", $smiley_image, $message); } } } return $message; } Edited by NetriX on 13-02-2012 13:16 |
|
|
|
| Jump to Forum: |


Information
Resources
Submit











' in /home/wwwstree/public_html/wap2/wap-maincore.php on line 460
