xoops forums

Forum Index


Board index » All Posts (sailjapan)




sailjapan

Moderator
Posted on: 2006/8/31 14:33
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1241

Re: Amazon aStore

I'd love to see a "Cafe Press" style module for this.
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/8/22 2:16
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1242

Re: NewBB Spam Posts - Any simple challenge hack avail?

anyone know how to apply this hack to Newbb 1 on XOOPS 2.013?
(I would have upgraded Newbb but I haven't got a clue which version to choose or where the relevant module is kept on xoops.org )
the instructions include directions to paste code into areas of code that my files don't have...
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/7/13 23:44
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1243

Re: XOOPS Newsletter Mailer

eh?
Is this module released already?
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/7/6 8:16
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1244

Re: MyAds 2.x vulnerable!

Cool.
Many thanks, zyspec.
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/7/6 0:03
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1245

Re: MyAds 2.x vulnerable!

My code (MyAds 2.04) is different to that mentioned by zyspec below. It reads:
$yname = !empty($_POST['yname']) ? $myts->makeTboxData4Save($_POST['yname']) : "";
$ymail = !empty($_POST['ymail']) ? $myts->makeTboxData4Save($_POST['ymail']) : "";
$fname = !empty($_POST['fname']) ? $myts->makeTboxData4Save($_POST['fname']) : "";
$fmail = !empty($_POST['fmail']) ? $myts->makeTboxData4Save($_POST['fmail']) : "";

if(!isset(
$_POST['lid']) && isset($_GET['lid']) ) {
    
$lid intval($_GET['lid']) ;
}else {
    
$lid intval($_POST['lid']) ;
}

$op'';
if (!empty(
$_GET['op'])) {
    
$op $_GET['op'];
} elseif (!empty(
$_POST['op'])) {
    
$op $_POST['op'];
}


Any advice on what to edit out in this instance?

Cheers.

Quote:

zyspec wrote:
snip
Towards the bottom of the listing-p-f.php (or annonces-p-f.php depending on which version of MyAds you have) file you'll find the following code just before:

switch($op) {

You'll find:
foreach ($_POST as $k => $v) {
    ${
$k} = $v;
}

$lid = isset( $_GET['lid'] ) ? $_GET['lid'] : '' ;

if(!isset(
$_POST['op']) && isset($_GET['op']) ) {
    
$op $_GET['op'] ;
}


Just delete these lines or comment it out with // at the beginning of each line) and replace it with:

$lid = isset( $_GET['lid'] ) ? intval($_GET['lid']) : '' ;
$op = isset($_POST['op']) ? $_POST['op'] : '' ;
$op = isset($_GET['op']) ? $_GET['op'] : $op ;

$yname = isset($_POST['yname'] ? $myts->addSlashes($_POST['yname']) : '';
$ymail = isset($_POST['ymail'] ? $myts->addSlashes($_POST['ymail']) : '';
$fname = isset($_POST['fname'] ? $myts->addSlashes($_POST['fname']) : '';
$fmail = isset($_POST['fmail'] ? $myts->addSlashes($_POST['fmail']) : '';

Remember, place this BEFORE the switch($op) statement. By the way, the fix for the Job Listing module (jobs ver 1.9) is the same.
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/6/25 16:14
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1246

Re: News 1.44 "Classic" layout problems

bump

Any other ideas?
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/6/22 7:17
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1247

Re: News 1.44 "Classic" layout problems

Thanks for the advice DIDI5, but it's not the blocks that I want to show (though I tried them and they seem to work ok). It's the module's top page that doesn't do what I was expecting (misguided expectations? Surely there's still a modules/news page...). I can get it to show stories by topic (but when you have more than a dozen topics it can get a bit crowded out there) whereas all I want to show is the top 5 (chronologically speaking) stories - Classic view.

Any other ideas?
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/6/21 16:00
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1248

News 1.44 "Classic" layout problems

Ok, I've spent a couple of hours searching around and not found anything relating to this problem.

running XOOPS 2.0.13 with News 1.44

When I choose "News Display Layout - Classic" in News' Module Settings, my top page doesn't show any news content. the page title is correct and the page links at the bottom are there. It's just the actual content that's missing...

Works fine with "News Display Layout - By Topic"

View permissions are set to "all" for everyone.

If I enable the "Recent News" block, I can see the stories there, as I can in "News Archives"

Oh, and yes, I did read the Upgrade.txt doc

Any ideas?
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/6/19 1:27
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1249

Re: xoops site for English speaking sailors in Japan

Fixing those blocks was easier than I expected!

Cheers again.
Never let a man who does not believe something can be done, talk to a man that is doing it.


sailjapan

Moderator
Posted on: 2006/6/18 1:15
sailjapan
sailjapan (Show more)
Moderator
Posts: 1672
Since: 2005/11/16
#1250

Re: xoops site for English speaking sailors in Japan

Thanks for the input Gestroud.
Quote:
If you're only using those blocks (or is it one block?) in the News Index, maybe you might think about moving the entry for xoops_content and place it above the center blocks array.


actually, this is something I wanted to do. Any tips on how to go about it? I'm using 2.0.13

Crip
Never let a man who does not believe something can be done, talk to a man that is doing it.



TopTop
« 1 ... 122 123 124 (125) 126 »