1
wacheek
Re: XoopsGallery 2.1
  • 2008/2/21 13:22

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


Thats excellent guys, really appreciate all your input on this, it just so happens I was looking to integrate Gallery2 into my own XOOPS pages for myself and others whos sites I created with Xoops.

I'll be sure to keep an eye on this thread.

On a different note:

I want to integrate Gallery2 simply because it has mods that allow bbcode/html tags/etc etc for people who want to embed their gallery pics into myspace/facebook etc (similar to photobucket/imageshack) without having to worry about bandwidth limitations (also like photobucket).

I want to be able to do this myself, as long as I can patch up some security holes via .htaccess/.htgroups etc, for friends of mine because I have *pardon the expression* a BUTT LOAD of server space and unlimited bandwidth. SO, if either of you know of a better php/mysql script that will allow me to show bbcode/img tags to registered users that'd also be great.

Last but not least, and I'll close this small novel *sorry*, if you need some space to host some older, hard to find but still very useful XOOPS modules just let me know I can provide some to help contribute to the community.

pm me or drop a note to wacheek AT gmail



2
wacheek
Re: Photo Uploads NOT count as Forum Posts.
  • 2006/7/20 22:09

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


Thought I'd post a follow up for anyone else who might find this a problem with their site.
What mcleines suggested worked like a charm even without updating the module.

Heres the methodology I used to get it done.

1. Renamed "xcgal/include/picmgmt.inc.php" to "picmgmt.inc.php.OLD" on the server for a backup.

2. Opened picmgmt.inc.php LOCALLY and edited with "Context" *lovely program, check it out here*
::: found the code I needed on line 98 >>
if ($approved == 'YES') $xoopsUser->incrementPost();
::: this is the ONLY line I edited simply by commenting it out >>
//EDITED BY ME JULY 20 06
if ($approved == 'YES') $xoopsUser->incrementPost();
::: I dont know how this is going to show up in the post so make sure thats ALL ONE LINE of code INCLUDING the "//EDITED BY..."

3. Uploaded the newly edited picmgmt.inc.php to the server "dont forget where it belongs, either "{root}/modules/xcgal/includes/" or
"{root}/html/modules/xcgal/includes/" depending on how you set XOOPS up.

3. And then uploaded a photo via xcgal in "User" mode to check if it counted as a site wide post. It did not.

So, try to follow along those lines and you should get it done.


Thanks again mcleines, REALLY apreciate the prompt reply.



3
wacheek
Re: Photo Uploads NOT count as Forum Posts.
  • 2006/7/20 20:46

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


Quote:

mcleines wrote:
This is only possible by editing the script xcgal/include/picmgmt.inc.php . At about row 146 you will find:

if (($approved == 'YES') && is_object($xoopsUser)) $xoopsUser->incrementPost();

Delete this and the upload won't be counted.


I apreciate it mcleines, a whole lot.
Gonna go try it out now.



If you'd like, visit the site when you have time to see whats up and offer any suggestions.
(sent in pm)
Thanks again



4
wacheek
Photo Uploads NOT count as Forum Posts.
  • 2006/7/20 3:32

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


This isn't a huge issue (keyword issue - not problem, yet)

The issue is with xcgal the coppermine mod.. I have a personal friends and family site and allow everyone personal albums and such as well as a ipb (old free version) mod forum. When members upload pics, it counts as a "User Post" site wide including in the forums.. this is starting to irritate some of the "forum freaks" who want to post and post and post to get their forum rank up, because theres a few younger members who love to pop every darn picture they have in their site photo albums.

I've dug around in google and XOOPS forums and searches but I've come up with no method of having XOOPS disregard "Pic Uploads" as "Site Posts".

Anyone have a clue how I can do this?

Thanks in advance.



5
wacheek
Re: Using .swf in Themes
  • 2006/4/15 1:09

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


I apologize for not closing this out.. this is an OLD post.
I've figured out how to do pretty much anything I wish within the XOOPS cms.



6
wacheek
Using .swf in Themes
  • 2005/2/10 15:08

  • wacheek

  • Just popping in

  • Posts: 7

  • Since: 2004/6/7 7


Hello, I have several basic Xoops2 installations running for several friends and a few non-profit organizations so I'm not new to getting XOOPS up and runnig, finding and editing themes to suit my tastes, etc.. but what I'm trying to do now is replace a particular few graphics in a theme with small flash .swf files. I can NOT hammer this out, I know just enough to be dangerous to myself I guess. Anyway, the URL is www.supremejudgment.com if anyones interested in helping me with this, you'll notice an animated .gif file near the left side of the site (had to convert the .swf >> .gif just to get something up there temporarily.) I'll copy the theme.html file to theme.txt and place it at www.supremejudgment.com/theme.txt so it can be viewed by any who can help.

The reference to the said .gif is:
" <{/if}>
<{if $xoops_lblocks}>
<td class="left_pict"> <img src="<{$xoops_imageurl}>images/left_pict.gif" /></td><{/if}> "

The theme unmodified is imago06c. Latest Xoops2 version. Running on my own Fedora Core 2 box (colo'd at a friends ISP).

If anymore info is required just let me know via forum post and thanks in advance ANYONE that can help me figure this out.




TopTop



Login

Who's Online

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


Members: 0


Guests: 168


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