1
Jack404
Re: Controlling Image Size..
  • 2005/11/10 16:43

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


hhttp://www.bigbaer.com/css_tutorials/css.scale.image.html.tutorial.htm

An option for this would be to create a special css line for any [ img ] tags with a class that defines a set width. The link above shows you how to do the CSS, but you'll have to delve into the text sanitizer and such to figure out just where XOOPS changes the img tag over to an html tag and add a class="" to it.
Jack
Maker of useless code



2
Jack404
Re: xoops-images-google..
  • 2005/10/14 17:01

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


You cannot use that module for your Google sitemap.. it's in the wrong format.

Google looks for an XML page to crawl your site. One example I've done is at http://www.pickeringtonvoice.com/sitemap.php - this page is dynamically generated with every file found in that folder and subfolder, so I never need to update it. Another way to do it is to manually update that file with your information, but that could get tedious after so many pages.

You can find out about what they need in a sitemap by navigating to Google's pages on sitemaps found at https://www.google.com/webmasters/sitemaps/docs/en/about.html

Good luck to you!
Jack
Maker of useless code



3
Jack404
Re: PHP/XOOPS Function Question
  • 2005/5/16 1:45

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


AHA!

I declared it in the include page, but not in the function itself.. now it works wonderfully. Thanks so much!



4
Jack404
PHP/XOOPS Function Question
  • 2005/5/16 1:22

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


function remUser($uid) {
  
$sql 'SELECT * FROM '.$xoopsDB->prefix('groups_users_link').' WHERE `groupid` = "'.XOOPS_GROUP_SUBSCRIBERS.'" AND uid = "'.$uid.'"';
  
$result $xoopsDB->query($sql);
  
$rows $xoopsDB->getRowsNum($result);
  if (
$rows 0) {
    
$sql 'DELETE FROM '.$xoopsDB->prefix('groups_users_link').' WHERE `groupid` = '.XOOPS_GROUP_SUBSCRIBERS.' AND `uid` = '.$uid;
    if (!
$xoopsDB->queryF($sql)) {
      return 
false;
    }
    return 
true;
  }
  return 
true;
}


This is my code for a function I'm writing. XOOPS_GROUP_SUBSCRIBERS is defined in mainfile.php, and all of that is included appropriately. This function works fine if I don't use it as a function (i.e. I put the code in where I'm calling the function), so I'm at a loss as to why it won't let me make it a function. Is it something to do with $xoopsDB? Thanks in advance for your help!



5
Jack404
Re: Changing the username of a registered user
  • 2004/7/3 11:37

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


The main problem, apart from what kahumbu said, is that the blocks such as Who's Online may not update until the user logs out and the logs back in.

Also, turn off module caching on your site (if it's enabled), or it won't update in those modules right away either.



6
Jack404
Re: Paypal Donations 1.31 Reconcile Problem
  • 2004/6/10 22:34

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


Glad we could get it to work =)

As far as the new release of the code, be sure to download the latest package when we release it. For a sneak preview, check out http://sandbox.ajxdesigns.com (the only module installed there is the donations one).



7
Jack404
Re: Paypal Donations 1.31 Reconcile Problem
  • 2004/6/10 17:41

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


In the meantime, I have uncovered a few module-breaking errors in the IPN code; this is why none of the transactions are being logged, even if they do reach the IPN script. I have fixed them and they are up on the CVS for the xDonations project.

Please check there for the newest versions of the files, or better yet, wait for a few days while we get this next quick release of the module ready! Hopefully we can get a fixed module out soon.

Thanks for your patience!



8
Jack404
Re: Paypal Donations 1.31 Reconcile Problem
  • 2004/6/10 15:32

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


Yup -- but at this point, I'm wondering if it at least needs to have PayPal's IPN turned to "On." If it's off, it may not work at all.



9
Jack404
Re: Paypal Donations 1.31 Reconcile Problem
  • 2004/6/10 14:51

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


Hey all,

It just figures that my power went out last night while I was typing a response

@Brash: First of all, do you have PayPal set up to use Instant Payment Notification? If you're not sure, check here.

That would be my first thing for you to check; if that is set to "Off" or to another IPN page, your donations module will be unable to pick anything up. If you find that it is off, make sure that you turn it on and set the page to
http://www.yoursite.com/modules/donations/ipnppd.php to get the ball rolling.

Test this and see if you can get it to work. Good luck!



10
Jack404
Re: Theme Development Wiki Erased?
  • 2004/6/7 18:28

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


History of XoopsThemesDoc page:

http://wiki.xoops.org/wakka.php?wakka=XoopsThemesDoc/revisions

Looks like it was deleted by this person:

2004-06-07 00:49:03 by 1-1-1-35a.has.sth.bostream.se




TopTop
(1) 2 3 4 ... 6 »



Login

Who's Online

303 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 303


more...

Donat-O-Meter

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

Latest GitHub Commits