191
ChadK
Re: Just wonderin...
  • 2004/7/13 18:11

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Yah, firewall on my end (I'm at work) and Java is a no-go as well at this location.




192
ChadK
Re: Web Hosting Module
  • 2004/7/13 18:09

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I just installed that phpcoin software and it's very impressive!

There are some mods and such for it already.. one integrates the login with phpbb:
http://forums.phpcoin.com/index.php?showtopic=1975
And a nice WHM integration module for automatic domain creation.

also looked in the forum in the gallery (links to sites running phpcoin) WOW.. some very impressive looking sites!



193
ChadK
Re: Just wonderin...
  • 2004/7/13 15:34

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I know SSH is more secure but the problem is, firewall. ;) Perhaps it's simply not a good idea.



194
ChadK
Re: Just wonderin...
  • 2004/7/13 15:11

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


To make changes to the site from places like work or something? That's what I want it for. I'm trying outhttp://www.gimpster.com/wiki/PhpShell now.. seems to work great but would like it integrated with XOOPS as a module.



195
ChadK
phpShell integration
  • 2004/7/13 15:09

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I'd like to see phpShellhttp://www.gimpster.com/wiki/PhpShell
use XOOPS login permissions and groups and be installed into a XOOPS site as a module.



196
ChadK
Remote Host Information Posting (advanced)
  • 2004/7/13 13:04

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I have an ASP script I was using on an old site. The
purpose of the script was to allow a user to post a
classified ad into my system while at the same time, taking
the text and posting it to various other classified ad
websites that I defined.

The ASP script isn't really that complicated once you see
what it's doing. Basically it takes information posted and
parses it according to the site it's going to.

Say I have 3 other sites defined. The items I define are:
Site address: regular url to website
Login Address: Site to log in (if needed)
Login ID: Name to log in with (if login address>"")
Login PW: Password to send (again only if needed)
Post Address: specific URL to post classified info to
SuccessString: the string to look for in the resulting page
after the submit to see if the ad was posted correctly.

All of the following use the information from the ad they
submitted if it's available otherwise it uses a default
value defined on a site-by-site basis. This is because one
site might require phone # to be (555)555-5555 and another
might want it in the format: 5555555555

Name: user's name
Phone: user's phone # if on the ad
Title: title of ad
Description: body of ad & a footer defined by me
URL: Classified URL if available, user's URL if available,
website address at my site where ad details can be displayed
(first available in this order)
Photo URL: if available

and a few others perhaps..

So I see it as needing to be set up with:
Table: xoops_sites
Fields: SID (site ID), Title, URL, LoginURL, Login, Pass,
PostURL, SuccessString

Table: xoops_sites_variables
Fields: SID, SiteField (the field name on the destination
website's form), SourceField (the field name on my
classified submission form, if any), DefaultValue (the
default value to use if no source field is supplied or
sourcefield submitted is empty).

Maybe a history table recording what ads were submitted
where and if they were successful or not.

I'm a decent ASP script writer but I lack the skill with PHP
to accomplish this. Help. ;)

If anyone is interested in helping I can send you the ASP
script I was using (that worked). I'll attach the script
later when I have access to it.



197
ChadK
SQL Injection issue
  • 2004/7/12 18:05

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Over at runcms (how I found XOOPS in the first place) they have a new download to fix some files with Sql injection problems.. is this a security risk for those of us running original XOOPS 2.x?



198
ChadK
Re: Moderation of other modules?
  • 2004/7/12 17:41

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I'll try messing with it again later.. logging the user off and then back on to see if it works. - I hadn't logged them off before so that might be part of it.
I'll also note each step I take exactly to give a better reply.



199
ChadK
Re: RSS Feed of my site?
  • 2004/7/12 17:38

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


I don't see how I can get it to serve my classifed ads, forum posts and such with that.. ? maybe someone has already made copies of it and modified them for those areas?

I found RSSFIT and tried making a plug-in to get it to work but it won't serve any news or anything when the plug in is set up indicating a problem with the plug-in I did which is:
Quote:
class RssfitmyAds extends XoopsObject{
var $dirname = 'myAds';
var $modname;

function RssfitmyAds(){
}

function loadModule(){
global $module_handler;
$mod = $module_handler->getByDirname($this->dirname);
if( !$mod || !$mod->getVar('isactive') ){
return false;
}
$this->modname = $mod->getVar('name');
return $mod;
}

function grabEntries(&$obj){
global $xoopsDB;
$myts =& MyTextSanitizer::getInstance();
$ret = array();
$i = 0;
$sql = "SELECT l.lid, l.cid, l.title, l.date, l.description, l.valid FROM ".$xoopsDB->prefix("ann_annonces")." l WHERE l.valid='Yes' ORDER BY date DESC";
$result = $xoopsDB->query($sql, $obj->getVar('rssf_grab'), 0);
while( $row = $xoopsDB->fetchArray($result) ){
// required
$ret[$i]['title'] = $row['title'];
$link = XOOPS_URL.'/modules/'.$this->dirname.'/singlefile.php?cid='.$row['cid'].'&lid='.$row['lid'];
$ret[$i]['link'] = $ret[$i]['guid'] = $link;
$ret[$i]['timestamp'] = $row['date'];
$ret[$i]['description'] = $myts->makeTareaData4Show($row['description']);
// optional
$ret[$i]['category'] = 'Classified Ads';
$ret[$i]['domain'] = XOOPS_URL.'/modules/'.$this->dirname.'/';
$i++;
}
return $ret;
}
}


Even without the plug-in, the feed RSSFIT creates doesn't seem to be valid... as I can't use any RSS reader I've tried to read the feed...



200
ChadK
Re: RSS Feed of my site?
  • 2004/7/12 15:47

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Maybe I just have the wrong directory permissions set? Anyone know what they should be? This wasn't documented in the sparse install docs.

- Oh and there's an extra } in the index.php near the end of the file that needs removed or you'll get an error.




TopTop
« 1 ... 17 18 19 (20) 21 22 »



Login

Who's Online

252 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

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

Latest GitHub Commits