1
iHackCode
Misspelling in login block

I noticed a misspelling in the login block. Password is misspelled.

I noticed it here..
https://xoops.org/modules/repository/
https://xoops.org/modules/newbb/

Thanks



2
iHackCode
Re: Publisher SliderProblem

Try this.

<{php}>
use 
XoopsModules\Publisher;
use 
XoopsModules\Publisher\Constants;

$helper Publisher\Helper::getInstance();
$myts =& MyTextSanitizer::getInstance();
$itemsObj $helper->getHandler('Item')->getItems($limit 10$start 0, [Constants::PUBLISHER_STATUS_PUBLISHED], -1$sort 'datesub'$order='DESC'''true$criteria null);
$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 -->



3
iHackCode
Re: Warning with xoInboxCount

Do you have a function.xoInboxCount.php file in htdocs/class/smarty/xoops_plugins ?



4
iHackCode
Re: Google Maps API Keys are back

Thanks. I had a typo in the call for setcenter. I've fixed it and pushed it to GitHub (https://github.com/ihackcode/googlemaps/tree/fixes)



5
iHackCode
Re: Google Maps API Keys are back

I have some fixes in my branch, but there might be a few features missing.

https://github.com/ihackcode/googlemaps/tree/fixes



6
iHackCode
Re: What do you use to demo your themes?

Theme designers, if they use something more lightweight to demo multiple themes.



7
iHackCode
What do you use to demo your themes?

What do you use to make demo sites for your themes?



8
iHackCode
Re: Dummy block in Dummy module

oh. this
$modversion['blocks'][0]['file'] = "blocks/dummy_block.php";

should be. this
$modversion['blocks'][0]['file'] = "dummy_block.php";

But if you want a block to appear you'll need a template.

ex:
$modversion['blocks'][0]['template'] = 'sometemplate.tpl';

https://xoops.gitbooks.io/kaotik-module-tutorial/content/en/book/4.html



9
iHackCode
Re: XoopsPreload

For Xoops 2.5.6
System requirements
-----------------------------------
PHP:
Any PHP version >= 5.3.7 (PHP 5.4+ is strongly recommended)

MySQL:
MySQL server 5.0+
Source:https://xoops.org/modules/news/article.php?storyid=6476

Try uploading the checksum.md5 and checksum.php files from the Xoops 2.5.6 package to verify your files are correct.
Quote:

Files integrity check
-----------------------------------

The full XOOPS package is released with a script able to check if all the system files have been correctly uploaded to the server. To use it, follow these instructions:

1. Upload the checksum.php and checksum.md5 files located in the XOOPS package root to your XOOPS server folder (putting them next to mainfile.php).
2. Execute checksum.php with your browser
3. If necessary, re-upload the missing or corrupted system files
4. Remove checksum.php and checksum.md5 from your server



10
iHackCode
Re: protector.php not found

Quote:

Moonrakre wrote:
Unfortunately all the editors were already set to dhtmltextarea. I tried all the other options to no avail.

The module throwing the error is a "content" module (of which there seem to be a number) by a Ben Brown of The Handcoders, Reinarz & Associates. These seem to have disappeared now.

I built the site for a charity in 2010 and it has just run lovely since then, but it was on an old PHP version which has had to be changed, so somehow I need to get it changed at least to the point of being able to edit the content. So yes is it old.


Ah okay, I was worried that the site was somehow set to use an outdated editor.

Yeah you might have to update the module to use a different editor like XoopsFormDhtmlTextArea.




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



Login

Who's Online

190 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 190


more...

Donat-O-Meter

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

Latest GitHub Commits