51
GIJOE
Re: myAlbum and myAlbum-p question
  • 2004/7/17 5:59

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Not impossible but troublesome.
You can clone any modules manually.
But it's not so easy like "Duplicatable" modules.
If you want another one mydownloads only, someone must have made mydownloads clone.



52
GIJOE
Re: myAlbum and myAlbum-p question
  • 2004/7/17 3:27

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Quote:

Booga wrote:
1. rename the module folder??

Yes.
The default dirname of myAlbum-P is myalbum.
Then you can rename myalbum to myalbum0(1,2)

Quote:
2. would this also work for mydownloads??

I can't understand what you mean.
If you mean renaming myalbum to mydownloads, the answer is no.
Else you mean renaming mydownloads to mydownloads0, the answer is no, too.

There are a quite few modules can be duplicated easily.
TinyD, myAlbum-P, xhld, and WordPressME.
I don't know anothers.



53
GIJOE
Re: MyAlbum-P ImageMaick & NetPBM Issue
  • 2004/7/17 2:46

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi Dmackeybog.

myAlbum-P <= 2.75 has a bug with treating DIRECTORY_SEPARATOR of Windows.

Try 2.82.
And you can set blank as the paths of ImageMagick or NetPBM.



54
GIJOE
Re: myAlbum and myAlbum-p question
  • 2004/7/17 2:44

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi Flinx.

You can install myAlbum-P as myalbum0, myalbum1, or myalbum2 with dirname.

All you have to do is rename myalbum to myalbum0(1,2).
Then install it.




55
GIJOE
Re: Table 'xoops_myalbum_cat' already exists
  • 2004/7/8 4:10

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi tonybrasscoe.

Perhaps, the un-installation had been failed.
There are two clues.

1) drop tables manually by phpMyAdmin
drop 4 tables like this:
- xoops_myalbum_cat
- xoops_myalbum_photos
- xoops_myalbum_text
- xoops_myalbum_votedata

2) rename the directory from myalbum/ to myalbum0/,myalbum1/, or myalbum2/.




56
GIJOE
Re: SQL vs. Norton Internet Security
  • 2004/7/6 9:19

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Quote:

paco1969 wrote:
What kind of dangerous the changing of this line offers? Is the AntiDos enough to protect?

AntiDoS-P protects you from some kind of injection to variables and/or DoS attack.

Sending referer protects you from CSRF attacks.

They are irrelevant each other.

As I don't know your firewall, I'm sorry that I can't advise any more to you.



57
GIJOE
Re: A new autologin hack for 2.0.6
  • 2004/7/6 4:11

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


hi finner.

Perhaps, you've misunderstood the meaning of "AutoLogin".

see this thread.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=15842&forum=21#forumpost66489



58
GIJOE
Re: Photo Album - Probaby a simple anwser
  • 2004/7/5 4:57

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


edit myalbum_index.html in your templates set.
and eliminate this block.
<table width="100%" cellspacing="0" class="outer">
  <
tr>
    <
td class="even" align="left">
      <
h4><{$lang_latest_list}></h4>
      <{if 
$photonavdisp }>
        <
table broder='0' cellpadding='0' cellspacing='0' width='100%'>
          <
tr>
            <
td align='left'>
              <{
$photonavinfo}>
            </
td>
            <
td align='right'>
              <{
$photonav}>
            </
td>
          </
tr>
        </
table>
        <
hr />
      <{/if}>
      <
table width='100%' cellspacing='0' cellpadding='10' border='0'>
        <{foreach 
from=$photos item=photo}>
          <{include 
file="db:myalbum_photo_in_list.html"}>
        <{/foreach}>
      </
table>
      <{if 
$photonavdisp }>
        <
hr />
        <
table broder='0' cellpadding='0' cellspacing='0' width='100%'>
          <
tr>
            <
td align='left'>
              <{
$photonavinfo}>
            </
td>
            <
td align='right'>
              <{
$photonav}>
            </
td>
          </
tr>
        </
table>
      <{/if}>
    </
td>
  </
tr>
</
table>

That's all!



59
GIJOE
Re: SQL vs. Norton Internet Security
  • 2004/6/30 0:36

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Or you can try this hack.

line 137 of include/functions.php
function xoops_refcheck($docheck=1)
{
    
$ref xoops_getenv('HTTP_REFERER');
    if (
$docheck == 0) {
        return 
true;
    }
    if (
$ref == '') {
        [
d]return false;[/d]
        [
color=ff0000]return true;[/color]
    }
    if (
strpos($refXOOPS_URL) !== ) {
        return 
false;
    }
    return 
true;
}

This is a some kind of danger hack, because this function protects you from CSRF.
But, it is only a site's admin that this check is absolutely necessary, I think.

For the site where begginers's ratio is very high, this hack is a considerable choice.

If you turn this hack on, don't forget cheking that referer is sent from your browser correctly.
This check is needed for another admins but you.



60
GIJOE
Re: php in block
  • 2004/6/30 0:16

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


Another choice you can.

Use TinyD.

- put the file of the script into modules/tinycontent*/content/
- add page wrap to the file in TinyD's admin
- clone a content block and assign the content to the block in block's admin in TinyD.





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



Login

Who's Online

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


Members: 0


Guests: 155


more...

Donat-O-Meter

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

Latest GitHub Commits