xoops forums

Forum Index


Board index » All Posts (liomj)




liomj

Just popping in
Posted on: 6/13 12:45
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#1

Re: Publisher Images on Facebook

Hi
you can try inserting this code in root/themes/themename/theme.html before </head> 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}>


liomj

Just popping in
Posted on: 5/13 1:46
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#2

Re: Suico module add video

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


liomj

Just popping in
Posted on: 5/11 3:00
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#3

Re: countdown module for XOOPS 2.5.9 ?

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


liomj

Just popping in
Posted on: 2019/3/6 9:07
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#4

Re: Text at internet explorer address bar

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


liomj

Just popping in
Posted on: 2019/3/6 4:44
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#5

Re: Text at internet explorer address bar

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


liomj

Just popping in
Posted on: 2017/3/21 16:54
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#6

Re: Publisher and xoops 2.5.8 tests

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

Latest Publisher from GitHub

Resized Image


liomj

Just popping in
Posted on: 2017/3/21 2:02
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#7

Re: Publisher Random Item

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'] . '&amp;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 ?


liomj

Just popping in
Posted on: 2017/2/21 4:46
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#8

Re: extcal problem with xoops 2.581

Nevermind

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


liomj

Just popping in
Posted on: 2017/2/21 3:51
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#9

extcal problem with xoops 2.581

PHP Version 5.6.30
mySQL Version 5.6.35
xoops 2.5.81
XOOPS extCal 2.39 RC-1

The modules/extcal/view_calendar-month.php is not display with the following message

WarningSmarty errorunable to read resource"db:extcal_view_calendar-month.tpl" in file /class/smarty/Smarty.class.php line 1100


liomj

Just popping in
Posted on: 2017/2/17 1:29
liomj
liomj (Show more)
Just popping in
Posts: 36
Since: 2012/4/10
#10

Re: extcal problem - date minus one day ?

Quote:

goffy wrote:
Hi
did you already check, whether your provider changed something?


still having this problem

Indeed they have change something...will figure this out with my provider.

and now my temporary solution is changing it manually one by one



TopTop
(1) 2 3 4 »