61
blackrx
Re: Userlog: a new module to log user activities
  • 2013/4/9 11:34

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


imrtfan thank you for this module

1. how to make referer url clickable ?
2. I cant have more than 1 setting... is this normal ?
3. column option not removed after updating setting


XOOPS Version XOOPS 2.5.5
PHP Version 5.3.20
mySQL Version 5.1.68-cll
Server API cgi-fcgi
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen Off
fsockopen On
post_max_size 8M
max_input_time 60
output_buffering
max_execution_time 30
memory_limit 50M
file_uploads On
upload_max_filesize 12M



62
blackrx
Re: MyDownloads - Error
  • 2013/4/2 14:23

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


XOOPS Version XOOPS 2.5.5
PHP Version 5.3.20
mySQL Version 5.1.68-cll
Server API cgi-fcgi
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen Off
fsockopen On
post_max_size 8M
max_input_time 60
output_buffering
max_execution_time 30
memory_limit 50M
file_uploads On
upload_max_filesize 12M



63
blackrx
Re: MyDownloads - Error
  • 2013/4/2 11:35

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


Hi im currently using mydownloads module 1.6

i have this error too

does anyone know what is the latest version and where i can find one

i would like to continue to use this module..its simple than other download module

i have too many files around 100+..and the download link is pasted everywhere in the web

so upgrade to TDM download or wfdownloads is not an option

currently i submit download link manually to mydownloads



64
blackrx
Re: eXtCal 2.37 Beta 4, will this ever get out of beta?
  • 2013/3/19 14:05

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


Quote:

HipTeen wrote:
The "Upcoming Event" Block didn't worked, causing a blank white page.
class/event.php missed the line
include_once XOOPS_ROOT_PATH . '/modules/extcal/include/functions.php';
Adding this line made the upcoming block working for me

yes the upcoming event not working
but after i did this the upcoming event is displayed but it display the same event as the todays event block



65
blackrx
Re: Extgallery nightmares...
  • 2013/3/18 13:50

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


Quote:

flipse wrote:
I did some extensive testing with the Photoview block. Most Ajax types to choose from do not function.

Working are Lightbox, Tooltip and Normal view

Failing are Prettyphoto, Overlay, Fancybox and jCarousel

To be sure I cleaned caches in between and tried with jquery disabled at block and module level. Debug does not show any Extgallery related errors.


confirmed
XOOPS 2.5.5
PHP 5.3.1
MYSQL 5.1.41





66
blackrx
Re: Talk of JQuery Mobile Framework For Xoops
  • 2013/3/18 13:42

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


@timgno

Thank you for the answer but i have decided to use another method to build a mobile version of my xoops site

https://xoops.org/modules/newbb/viewtopic.php?post_id=352322

i don't want all modules to be display in my mobile website
so what i did was to make custom php page ..will display only important info and some news title and summary (query db from news module etc)

i also made a custom mobile theme and use defacer to redirect theme for desktop/mobile

I got my redirect and View Full Site Link script here




67
blackrx
Re: Using multilanguage tags in Mobile Version ?
  • 2013/3/18 13:36

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


nevermind: solved... Defacer is great..Thanks to Trabis

should just leave the URL as *

btw anyone who interested

im using this redirect mobile device to mobile website script from here
http://www.webdeveloper.com/forum/showthread.php?241503-After-Mobile-Redirect-View-Full-Site-link&p=1148741#post1148741

<?php
function is_mobile(){
    
$regex_match="/(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|";
    
$regex_match.="htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|";
    
$regex_match.="blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|";    
    
$regex_match.="symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte-|longcos|pantech|gionee|^sie-|portalmmm|";
    
$regex_match.="jigs browser|hiptop|^ucweb|^benq|haier|^lct|operas*mobi|opera*mini|320x320|240x320|176x220";
    
$regex_match.=")/i";        
    return isset(
$_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE']) or preg_match($regex_matchstrtolower($_SERVER['HTTP_USER_AGENT']));
}

switch(
$_GET['mode'])
    {
case 
'mobile':
    
$mode "mobile";
    break;
case 
'desktop':
    
$mode "desktop";
    break;
default:
    
$mode is_mobile() ? "mobile" "desktop";
    break;
    }

if (
$mode == "mobile")
    {
    
header ("Location: http://mobile.mainsite.com/");
    return;
    }
?>


and this to View Full site link
<a href="http://www.mainsite.com/?mode=desktop">Full Site</a>



68
blackrx
Re: Using multilanguage tags in Mobile Version ?
  • 2013/3/18 9:41

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


TQ

i have converted my html page to xoops custom page php and i use the dummy module to put my page and rename the module as mymobile..multilanguage is working

I'm testing defacer in localhost ..i want to have two themes

I have set theme in General Preference to Theme A

and in defacer

in page manager i use this urlhttp://localhost/new/modules/mymobile/index.php
in theme manager i set so the url above will use Theme B....

Save DEFACER setting

but when clear xoops cache and browser cookies

all pages and modules use Theme B

i only need modules/mymobile/ use theme B and the rest use theme A

Defacer version 1 (RC)
XOOPS 2.5.5
PHP 5.3.1
MYSQL 5.1.41



69
blackrx
Using multilanguage tags in Mobile Version ?
  • 2013/3/17 15:08

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


I would to make a mobile version of my XOOPS site

It will be different from the Full Site Version

It will be more simple

so far i have made several html page like : About Us, Services, Etc

and it have its own design and i put it in XOOPs root


The problem is

i want to use multilingual tag in the mobile version ..i know i can use the language tags i if i use this custom page code

<?php

include("../mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");

$meta_keywords "";
$meta_description "";
$pagetitle "";

if(isset(
$xoTheme) && is_object($xoTheme)) {
    
$xoTheme->addMeta'meta''keywords'$meta_keywords);
    
$xoTheme->addMeta'meta''description'$meta_description);
} else {    
// Compatibility for old Xoops versions
    
$xoopsTpl->assign('xoops_meta_keywords'$meta_keywords);
    
$xoopsTpl->assign('xoops_meta_description'$meta_description);
}

$xoopsTpl->assign('xoops_pagetitle'$pagetitle);

//this will only work if your theme is using this smarty variables
$xoopsTpl->assign'xoops_showlblock'0); //set to 0 to hide left blocks
$xoopsTpl->assign'xoops_showrblock'0); //set to 0 to hide right blocks
$xoopsTpl->assign'xoops_showcblock'1); //set to 0 to hide center blocks
?>

html

<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>



but if i use the custom page code above it will use my xoops theme design

i don't want the mobile site to have same theme with my full xoops site

how do i use my own design for the mobile website..

Full site - using my xoops theme
Mobile site - my own design without following the xoops theme








70
blackrx
Re: Talk of JQuery Mobile Framework For Xoops
  • 2013/3/14 13:31

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


tq timgno

im testing in localhost and using opera browser smartphone emulator...

but when i set the theme to mtheme both smartphone browser emulator and normal pc display mtheme

In mainfile i use this

if($mobile === true)
header('Location:http://localhost/xoops255/');


1. How do we setup our mobile site so when we use our mobile we will be redirected to mtheme and when we use normal PC we are redirected to our normal theme.


how to setup the mobile site example herehttp://mobile.txmodxoops.org/
do we need to install another xoops ? and set the theme to mtheme ?

2. Is it possible when in mobile, a link to display the full site (normal theme) is displayed







TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 20 »



Login

Who's Online

206 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits