51
liomj
Re: xoops preferences "site close" override
  • 2020/10/9 12:10

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Thank you Mamba, its not working, ill try and look again

i uploaded it here on what im trying to do..so far what i did
https://github.com/liomj/mobile/

it is working fine if the site is opened but not if it is close



52
liomj
Re: xoops preferences "site close" override
  • 2020/10/9 1:49

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Hi

i made a proof of concept mobile page with login but when the site is close it is redirect to
xoopssite.com/index.php instead of xoopsite.com/mobileapp/index.php

how do i override when a xoops site is closed it will redirect to a custom login page and
not the default login in index.php ?



53
liomj
Re: Publisher Images on Facebook
  • 2020/6/13 12:45

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Hi
you can try inserting this code in root/themes/themename/theme.html before if that helps

<{if $xoops_dirname == "publisher"}>  
        <
meta property="og:type" content="website" />
        <
meta property="og:title" content="<{$item.title}>" />
        <
meta property="og:description" content="<{$item.summary}>" />
        <
link rel="image_src" href="<{$item.image_path}>" />  
        <
meta property="og:image" content="<{$item.image_path}>"/> 
        <
meta property="og:image:type" content="image/jpeg" />
        <
meta property="og:image:width" content="1200" />
        <
meta property="og:image:height" content="628" />
        <
meta property="og:url" content="<{$item.itemurl}>"/>  
        <
meta itemprop="image" content="<{$item.image_path}>"/>  
        <
link rel="canonical" href="<{$item.itemurl}>"/>   
    <{/if}>



54
liomj
Re: Suico module add video
  • 2020/5/13 1:46

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Hi miktre

i have added option to use full youtube url to suico

can you redownload and test
https://github.com/XoopsModules25x/suico/

now you can use https://youtu.be/5JomGl_RPwQ or just 5JomGl_RPwQ



55
liomj
Re: countdown module for XOOPS 2.5.9 ?
  • 2020/5/11 3:00

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Quote:

Mamba wrote:
You can try and test these two versions:

Version 1: the original version, updated for XOOPS 2.5.9 and PHP 7.2, but the the calendar button doesn't work, i.e. you have to enter the date manually

Version 2: Quick & dirty rewrite of the Version 1, incl. a Vue countdown component.

Please note: I don't have time to do anything more with these modules, but it will be a good start for you to improve it further. Or somebody else could help you. Just fork it on GitHub



Hi I have forked mamba countdown2 module

my progress so far..im not very good at programming but i followed by examples
heres what i made so far

Event List
Resized Image
Event View
Resized Image
Block
Resized Image

currently some problem and error im stucked with that i would need help on

automatic uploads/countdown folder creation
Event Category - Fetching Category Name in block, event list and event view
Comment for event view is not working
can anyone out there help ?

you can download and test here
https://github.com/liomj/countdown2



56
liomj
Re: Text at internet explorer address bar
  • 2019/3/6 9:07

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


some slashes are stripped automatically by xoops editor in my htaccess example above

the second and third line in the example should be correct

change the first line to the correct format by referring files in the modules\publisher\extra\seo\

after you did all the steps..
you should be able to access

http://fla-ts.com/publisher.item.24/DRAAITIJD.html
or
http://fla-ts.com/DRAAITIJD/

make sure Apache mod_rewrite module is also enable in your server



57
liomj
Re: Text at internet explorer address bar
  • 2019/3/6 4:44

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Hi flats

try this

1. Please refer to modules/publisher/extra for seo option
2. enable htaccess option in publisher preferences url rewrite method
3. enable the short url field in form permission (Fields available in articles submission forms) (modules/publisher/admin/permissions.php)

4. edit your article id:24 to have short url example DRAAITIJD.html

5. add this in your .htaccess in file root..

example
RewriteRule ^publisher.([a-z]+).([0-9.]+)/  modules/publisher/index.php?seoOp=$1&seoArg=$2
RewriteRule 
^publisher/?$ /modules/publisher/index.php
RewriteRule 
^DRAAITIJD/?$ /publisher.item.24/DRAAITIJD.html


6. try http://fla-ts.com/DRAAITIJD/ if it is accessible



58
liomj
Re: Publisher and xoops 2.5.8 tests
  • 2017/3/21 16:54

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


List of Other articles in this category is not showing in article page

Latest Publisher from GitHub

Resized Image



59
liomj
Re: Publisher Random Item
  • 2017/3/21 2:02

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Quote:

sabahan wrote:
ok i think got it..add featured image for random article

in items_random_item.php

$mainImage $itemsObj->getMainImage();
        
// check to see if GD function exist
        
if (!function_exists('imagecreatetruecolor')) {
            
$block['item_image'] = $mainImage['image_path'];
        } else {
            
$block['item_image'] = PUBLISHER_URL '/thumb.php?src=' $mainImage['image_path'] . '&w=' $imgwidth// No $imgheight for autoheight option
        
}


template publisher_items_random_item.html



<img src="<{$block.item_image}>" alt="" width="100" height="100" align="left" style="padding:5px;"/>


at first i got blank page because of this warning
//CAREFUL!! with many items this will exhaust memory
remove $block['lang_fullitem'] = _MB_PUBLISHER_FULLITEM;
notw its ok




How do i show more than 1 random item other than cloning this block ?



60
liomj
Re: extcal problem with xoops 2.581
  • 2017/2/21 4:46

  • liomj

  • Just popping in

  • Posts: 96

  • Since: 2012/4/10


Nevermind

if anyone have same problem just reupload all the module files and reupdate..fixed




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



Login

Who's Online

157 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits