Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 90 2013 Abuse AntiHarvesting AntiMalUser AntiSpam API Beats billige black Blocks blue Captcha capture Casual cell Checksum Christmas chronolabs content Conversion Debauchosity demo docek download Dresses EC2 editor ELB evden eve facebook floor free games herre Honeypot Human IP jQuery kantor klubovi lamps log logger Marquee mobile module modules Monster MyAlbum-p newbb news newsletter online oxygen PageRank Payment Permissions pink Plugin portal Prevention profile project Protector Protocols publisher Rights rmcommon Room sale security Server site Smarty Spam stem Studio support tag tags tdmcreate Theme themes txmod Umfrage User userlog website Whitepaper xoops XOOPS2 Xortify XPayment ZendFramework

New Users

Registering user

# 136029

Relentless

Welcome to XOOPS!

Forum Index


Board index » All Posts

Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 29332 »


#1 Posted on: Today 12:31 Problems with displaying stories after moving to another server
Hi,

I'm not xoops user. I'm just moving xoops installation to another server. I made full backup and restored it on another server. Frontpage loads fine, but when I click on menu item I just get to a redirect page that says:

"Sorry, the selected story does not exist. If the page does not automatically reload, please click here"

I tried backing up original website and restoring it on new server several times. All files seems to be copied. Database is restored properly, and there are no errors so far. Domain name is the same, and I really don't see any reason why this shouldn't work.

Here are the links:
http://www.rusan.hr/ (this is link to the frontpage)
http://www.rusan.hr/new/modules/news/article.php?storyid=60 (example of problem, this is link on the right sidebar that says "Mod. Standard")

If anyone can help I'd be really grateful, because I have no idea what could have gone wrong.

Top

Jinx
Just popping in
Just popping in
Joined:
Today 12:06
From None of your business
Group:
Registered Users
Posts: 1
(Show More) (Show Less)
Topic | Forum


#2 Posted on: Today 10:56 Re: MyLinks 3.11 RC2 Ready for Testing
Hello zyspec,

here is what I do:

1. I uplaod the image to the xoops image manager then copy the image url which looks as follows: href="http://localhost/site/uploads/images/img5197ae1f7cadc.jpg

2. I edit/create category, then I paste the image url I copied above and paste it in the image url which is bellow title field/textbox, then I save.

3. I visit the module home page and not image shows. I then return and edit that same category I edit in step 2 just to find out that the url is as mentioned in above post like: <a href="http://localhost/site/uploads/images/img5197ae1f7cadc.jpg" title="http://localhost/site/uploads/images/img5197ae1f7cadc.jpg" rel="external">http://localhost/site/up ... ages/img5197ae1f7cadc.jpg</a>

Let me know if this is much clear and if any fix is possible. It would be ideal if an image uploader feature can be added for attaching images to categories.

May I also suggest for a better way to edit links instead of having use link id, a drop down list of links which when one is clicked opens in edit mode or a similar solutions like tdmdownloads module list all entries with an edit button to the side of each entry.

Thank you.


Top

btesec
Friend of XOOPS
Friend of XOOPS
Joined:
2007/2/20 12:17
Group:
Registered Users
Posts: 615
(Show More) (Show Less)
Topic | Forum


#3 Posted on: Today 5:33 Re: Animal/Pedigree Module 1.31 Alpha 1
As far as I know, SourceForge is working on a feature similar to the old SVN, i.e. to be able to download the tarball of a given folder in SVN, but I don't think that it is working yet.

So the best is to use the little tool described in our FAQ, and use this link to SVN:

http://svn.code.sf.net/p/xoops/svn/XoopsModules/pedigree/trunk/

But please remember that this is still only Alpha, and there are a LOT of bugs there. I will need to rewrite a LOT of things there, to make it more like a regular standard XOOPS module. So please be patient...



Top


Please support XOOPS & DONATE
Use 2.5.6 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 6939
(Show More) (Show Less)
Topic | Forum


#4 Posted on: Today 5:16 Re: MyAlbum-p 3.06 and Xoops 2.5.5
Please, could anyone tell me where can i download de 3.10 version for 2.5.6? i only see the converted to 2.6 version

thanks in advance

Top

cerbero
Not too shy to talk
Not too shy to talk
Joined:
2003/9/11 6:10
Group:
Registered Users
Posts: 163
(Show More) (Show Less)
Topic | Forum


#5 Posted on: Today 4:38 Re: Animal/Pedigree Module 1.31 Alpha 1
Someone else asked me the same question Mamba. Having the svn updates as a zip would be a nice idea for this module (as there are many none technically skilled testers).

Top


The Dutch speaking XOOPS community has moved!
____________________________________

For Dutch support now go to www.nlxoops.nl
flipse
Moderator
Moderator
Joined:
2005/9/15 4:11
From The Netherlands
Group:
Registered Users
Community Coordinator (temporary)
Posts: 701
(Show More) (Show Less)
Topic | Forum


#6 Posted on: Today 1:35 Re: Xoopspoll v1.40 Beta 1 - Ready for testing
Quote:

I'll have to duplicate something similar to your findPollModule() method so xoopspoll will work with the newbb trunk code too - until you are able to merge your changes into the trunk.


I forgot to mention that.
instead of all other modules in svn, newbb trunk is very old, full of bugs and IMO bad working version and it seems nobody is using this version now. So leave newbb trunk and just stick on 2 versions:
1- Alfred newbb 4.3 stable version (of course still has many bugs) and maybe newbb 4.4
http://www.simple-xoops.de/projekt/2:1-Forum_-_newBB.html

2- irmtfan newbb 4.33 RC7

but to support Alfred and irmtfan < version 4.33 you dont need to write codes because newbb Alfred amd irmtfan < 4.33 only support hard-coded "xoopspoll" and "umfrage" dirnames and not any clone.
to recognize irmtfan version >= 4.33 you can use "author":
$modversion['author'] = "Marko Schmuck (predator) / D.J. (phppp) / Alfred(dhcst) / xoops.org (irmtfan)";
or i can add another special recognition.

IMO and based on tests, current irmtfan branch is the most stable newbb version. I found and solved many bugs in newbb1, newbb2, newbb 3.08 and ...


Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
Module Developer
Module Developer
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3301
(Show More) (Show Less)
Topic | Forum


#7 Posted on: Yesterday 21:47 Re: Xoopspoll v1.40 Beta 1 - Ready for testing
@irmtfan,

I'll have to duplicate something similar to your findPollModule() method so xoopspoll will work with the newbb trunk code too - until you are able to merge your changes into the trunk.

I'll look at using formatTimeStamp although I've had problems with it in the past - especially supporting DST correctly when the server is in a different timezone.

Side Note: What's needed is for XOOPS to abandon the current date/time handling routines and change date handling to use the PHP DateTime class support that was implemented back in PHP 5.2 - but this is a pretty big rewrite of how dates are handled in XOOPS and probably won't be changed any time soon.

Top

zyspec
Module Developer
Module Developer
Joined:
2004/9/21 8:28
From USA
Group:
Registered Users
Posts: 836
(Show More) (Show Less)
Topic | Forum


#8 Posted on: Yesterday 21:06 Re: Xoopspoll v1.40 Beta 1 - Ready for testing
@zyspec :
As you can see i used (copy/paste) many of your codes for xoopspoll 1.4 functionality in newbb located in xoopspoll/extras/newbb_4x/irmtfan (so you can remove that extra in your next versions)
Therefore thanks to your codes, I didnt have to put time to learn your xoopspoll 1.4 functionality.
Of course there were some bugs which i solved. so it was a good team work.

After that I decided to make newbb work with any poll module regardless of version or dirname so i did that too.

Quote:

That's no longer true (could be a clone of xoopspoll or umfrage). I'll have to create a function to determine if the polls are associated with 'this' copy of xoopspoll and then take the appropriate actions.

Yes previously it was hardcoded to "xoopspoll"
Today i add a function to find poll module that is in used in the current newbb installation.
This function is totally reliable and you can use it. so you dont need to put time on it.
// START irmtfan findPollModule
    /**
     * find poll module that is in used in the current newbb installtion.
     * @access public
     * @param array $pollDirs dirnames of all active poll modules
     * @return string $dir_def | true | false
     *    $dir_def: dirname of poll module that is in used in the current newbb installtion.
     *    true: no poll module is installed | newbb has no topic with poll | newbb has no topic
     *    false: errors (see below xoops_errors)
     */
    
public function findPollModule($pollDirs = array()) {
        if(empty(
$pollDirs)) $pollDirs $this->getActivePolls();
        if(empty(
$pollDirs)) return true;
        
// if only one active poll module still we need to check!!!
        //if(count($pollDirs) == 1) return end($pollDirs);
        
$topicPollObjs $this->getAll(new Criteria("topic_haspoll"1));
        if(empty(
$topicPollObjs)) return true// no poll or no topic!!!
        
foreach($topicPollObjs as $tObj) {
            
$poll_idInMod 0;
            foreach(
$pollDirs as $dirname) {
                
$pollObj $tObj->getPoll($tObj->getVar("poll_id"), $dirname);
                if(
is_object($pollObj) && ($pollObj->getVar("poll_id") == $tObj->getVar("poll_id"))) {
                    
$poll_idInMod++;
                    
$dir_def $dirname;
                }
            }
            
// Only one poll module should has this poll_id
            // if 0 there is an error
            
if($poll_idInMod == 0) {
                
xoops_error("Error: Cannot find poll module for poll_id='{$tObj->getVar('poll_id')}'");
                return 
false;
            }
            
// if 1 => $dir_def is correct
            
if($poll_idInMod == 1) {
                return 
$dir_def;
            }
            
// if more than 1 continue
        
}
        
// if there is some topics but no module or more than one module have polls
        
xoops_error("Error: Cannot find poll module that is in used in newbb!!! <br><br>You should select the correct poll module yourself in newbb > preferences > poll module setting.");
        return 
false;
    }
    
// END irmtfan findPollModule


so the usage is as simple as this:
$topic_handler xoops_getmodulehandler('topic''newbb');

            
$poll_module_in_use $topic_handler->findPollModule();


as you can see the output is informative:
Quote:

* $dir_def: dirname of poll module that is in used in the current newbb installation.
* true: no poll module is installed | newbb has no topic with poll | newbb has no topic
* false: errors (see below xoops_errors)


I used that in 'OnUpdate' and 'preferences saving' processes to make sure the "poll_module" config will be saved correctly.
I changed the version to newbb 4.33 and RC7:
http://svn.code.sf.net/p/xoops/svn/Xo ... b/branches/irmtfan/newbb/

Quote:

the 'hard coded date() functoin' usage - I thought I'd removed those where applicable.

yes.
eg: in xoopspoll/class/renderer.php line 173 should be replaced by this
$xuEndFormatted formatTimeStamp($xuEndTimestamp);


I think it would be the best solution for you to write a helper class and be free from any dirname, config, handler, date format, ... in next version of xoopspoll
helper really reduce my coding time in userlog.


Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
Module Developer
Module Developer
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3301
(Show More) (Show Less)
Topic | Forum


#9 Posted on: Yesterday 13:06 Re: XOOPS 2.5.6 Final Release Issues
Another very strange problem is that in version 2.5.7 the notification box with the news module 1.83 beta1 of my invoice, I can see it, but with this version I can not.

The files should be all good

Top

timgno
Module Developer
Module Developer
Joined:
2007/6/21 13:54
From Italy
Group:
Registered Users
Posts: 1089
(Show More) (Show Less)
Topic | Forum


#10 Posted on: Yesterday 12:25 Re: XOOPS 2.5.6 Final Release Issues
Quote:

The changes are now on XOOPS 2.5.7 here.


I downloaded and installed xoops 2.5.7 but the problem is the same, the changes have not been made.

I made changes to the file bootstrap.css, unfortunately without success and then eliminating changing what concerns both input[type="radio"] and input[type="checkbox"] conditions: inline or inline-block.

Top

timgno
Module Developer
Module Developer
Joined:
2007/6/21 13:54
From Italy
Group:
Registered Users
Posts: 1089
(Show More) (Show Less)
Topic | Forum



Top
(1) 2 3 4 ... 29332 »



[Advanced Search]