1241
sailjapan
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.



1242
sailjapan
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.



1243
sailjapan
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.



1244
sailjapan
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.



1245
sailjapan
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.



1246
sailjapan
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.



1247
sailjapan
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.



1248
sailjapan
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.



1249
sailjapan
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.



1250
sailjapan
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 »



Login

Who's Online

172 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 172


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