xoops forums

Forum Index


Board index » All Posts (heyula)




heyula

Theme Designer
Posted on: 6/27 5:01
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#1

Re: Wfdownloads 3.30 Beta-1 for XOOPS 2.5.9 and PHP 5.6+

@Zyspec
Thanks.


heyula

Theme Designer
Posted on: 6/26 17:35
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#2

Re: Wfdownloads 3.30 Beta-1 for XOOPS 2.5.9 and PHP 5.6+

Quote:

zyspec wrote:
Unfortunately it looks like Mamba forgot to rewrite part of the install function in the ./include/oninstall.php file. You might try replacing lines 41-64 (the xoops_module_pre_install_wfdownloads function) with:
function xoops_module_pre_install_wfdownloads(XoopsModule $module)
{
    include 
__DIR__ '/common.php';
    
/** @var XoopsModulesWfdownloadsUtility $utility */
    
$utility = new XoopsModulesWfdownloadsUtility();
    
//check for minimum XOOPS version
    
$xoopsSuccess $utility::checkVerXoops($module);
    
// check for minimum PHP version
    
$phpSuccess   $utility::checkVerPhp($module);
    if (
false !== $xoopsSuccess && false !==  $phpSuccess) {
        
$moduleTables =& $module->getInfo('tables');
        foreach (
$moduleTables as $table) {
            
$GLOBALS['xoopsDB']->queryF('DROP TABLE IF EXISTS ' $GLOBALS['xoopsDB']->prefix($table) . ';');
        }
    }
    return 
$xoopsSuccess && $phpSuccess;
}


That should at least get you past the pre-install check for PHP and XOOPs versions.

I get an error in setup
Error: Class 'WfdownloadsUtility' not found


heyula

Theme Designer
Posted on: 6/26 16:09
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#3

Re: hack newbb rate & quickreply to facebook style

thanks for sharing.


heyula

Theme Designer
Posted on: 6/20 17:35
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#4

YAXS: indir.top

Hi Guys;

My new project:

Program and Games download site.

Web Site: https://indir.top/

Xoops Version 2.5.10 Final

Modules Used:
* TDMDownloads
* Contact

Home View:
Resized Image


Application search:
Resized Image


Module Home:
Resized Image


Category View:
Resized Image


Content View:
Resized Image


TDMDownloads Extra Fields Management Hack (became more useful)
Resized Image


program indir


heyula

Theme Designer
Posted on: 6/19 16:36
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#5

Publisher SliderProblem

Working on older versions of the publisher

<{php}>
include_once 
XOOPS_ROOT_PATH '/modules/publisher/include/common.php';
$publisher =& PublisherPublisher::getInstance();
$myts =& MyTextSanitizer::getInstance();
$itemsObj $publisher->getHandler('item')->getItems($limit 10$start 0, array(_PUBLISHER_STATUS_PUBLISHED), -1$sort 'datesub'$order='DESC'''true$criteria nulltrue);
$totalItems count($itemsObj);

global 
$items;
$items = array();
if (
$itemsObj) {
        for ( 
$i 0$i $totalItems$i++ ) {

            
$newItems['itemid']       = $itemsObj[$i]->itemid();
            
$newItems['title']        = $itemsObj[$i]->title();
            
$newItems['body']         = $itemsObj[$i]->body();
            
$newItems['votes']        = $itemsObj[$i]->votes();
            
$newItems['image']        = XOOPS_URL '/uploads/blank.gif';
            
$images $itemsObj[$i]->getImages();
            if (
is_object($images['main'])) {
                
$newItems['image'] = XOOPS_URL '/uploads/' $images['main']->getVar('image_name');
            }
        
$items[] = $newItems;
    }
}
<{/
php}>
<!-- 
Slider -->
    <
div id="slider">
        <
a href="#" id="prev" class="notext"></a>
        <
a href="#" id="next" class="notext"></a>
        
        <
div id="slider-content">
            <
ul>
            <{
php}>
        foreach ( 
$GLOBALS['items'] as $myrow )
        {
        
$GLOBALS['xoopsTpl']->assign('itemid'$myrow['itemid']);
        
$GLOBALS['xoopsTpl']->assign('title'$myrow['title']);
        
$GLOBALS['xoopsTpl']->assign('body'$myrow['body']);
        
$GLOBALS['xoopsTpl']->assign('votes'$myrow['votes']);
        
$GLOBALS['xoopsTpl']->assign('image'$myrow['image']);
<{/
php}>
                <
li>
                    <
div class="left-side">
                        <
a href="<{$xoops_url}>/modules/publisher/item.php?itemid=<{$itemid}>"><img src="<{$image}>" alt="<{$title}>" width="400px" height="200px"/></a>
                    </
div>
                    
                    <
div class="right-side" >
                        <
h1><a  href="<{$xoops_url}>/modules/publisher/item.php?itemid=<{$itemid}>" title="<{$title}>"><{$title}></h1>
                        <
p><{$body|truncate:220}></p>
                        
                        <
class="readmore"><a style="color:#ff0000" href="<{$xoops_url}>/modules/publisher/item.php?itemid=<{$itemid}>">ÊÊãÉ &raquo;</a></p>
                    </
div>
                    
                    <
div class="cl">&nbsp;</div>
                </
li>
                <{
php}>
        }
<{/
php}> 
            </
ul>
        </
div>
    </
div>
    <!-- 
End Slider -->


Can we run this code for the current publisher


heyula

Theme Designer
Posted on: 6/14 13:55
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#6

New Download Theme

Hi guys;

I made a new download theme.
Bootstrap 4.3

Home:
Resized Image


Content:
Resized Image


Category:
Resized Image


Demo:
https://demo.erenyumak.com/


heyula

Theme Designer
Posted on: 5/30 6:12
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#7

Re: publisher usage

I also prefer to use 1.

Note:
It would be great if there was a section where I could add additional fields to the publisher module.


heyula

Theme Designer
Posted on: 5/22 16:34
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#8

Blog Theme

Hello;

A nice blog theme for xoops.

Resized Image


Resized Image


Demo:
https://demo.erenyumak.com/

Download:
https://erenyumak.com/modules/themes/item.php?itemid=19


heyula

Theme Designer
Posted on: 5/21 17:11
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#9

Timber Theme Download

Timber Theme

Resized Image


Resized Image


Modules edited:
* News
* Contact
* Portfolio

Demo:
https://demo.erenyumak.com/
Download:
https://erenyumak.com/modules/themes/item.php?itemid=18


heyula

Theme Designer
Posted on: 5/20 11:21
heyula
heyula (Show more)
Theme Designer
Posts: 467
Since: 2008/4/24
#10

Re: eCommerce Oledrion MyShop 2.35 RC1 for PHP 7.3.5

A module that deserves a nice theme.



TopTop
(1) 2 3 4 ... 16 »