244841
DonXoop
Re: GZIP and Xoops!

Exactly, turn it off in the module and use the core for all. But do have a good test with it since you could find strange behaviour with different browsers. And do a new user registration to test since previous versions had issues at times with gzip when signing up. Too bad it doesn't work well for everyone.

Same problem with PHP's zlib output compression. Again, you don't want to use it and another's gzip at the same time.

I just use a PHP accelerator/cache and avoid the gzip issues. Worth a try to see what works for you.



244842
m0nty
Re: Urgent Feature Request - will make Xoops 100Xs better
  • 2004/7/22 15:51

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


the current newbb2 is in production and is near a final release stage i believe.. which is the reason it isn't actually available to use on this site.. it makes sense to have an actual fuinal release version without bugs on a production site like this and i'm sure the XOOPS team will replace this current version with the new 1 once it has it's final stable release status..

there are other modules available..

invisionboard has been ported to XOOPS and also PHPbb. they are available athttp://www.bbpixel.com at this current time bbpixel is offline but will be back soon..

in the meantime if you want to check out invisionboard you can download version 1.4d from my server athttp://www.clubithard.co.uk/temp/IPB_module_1.4d_XPS.zip

please note: the above IPB module is for XOOPS 2.0.7 only.. if you require pre 2.0.7 version then let me know..



244843
Booga
Re: No. of Posts = Group Upgrade
  • 2004/7/22 15:48

  • Booga

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/11/29


Quote:

DonXoop wrote:
Sounds like a "Karma System". Have a search as I think there has been discussion on the topic.

"Karma System"?? I'm not sure what you mean. Can you please explain this.

Thankyou
Booga.



244844
DonXoop
Re: No. of Posts = Group Upgrade

Sounds like a "Karma System". Have a search as I think there has been discussion on the topic.



244845
DonXoop
Re: Homepage

Those are all good ways with each having a plus and a minus. Using a simple or crappy module and emptying it out to make an easy clone is what I use as well as TinyD. Hiding TinyD (and its clones) is a good trick to put static content anywhere. It is just more difficult to isolate blocks in one article and not another.

To keep my users somewhat happy with the newbb and hold them until the new one comes along I used a blank module as a spot to put a newbb cloned RecentPosts block in. Made it long so they can get caught up easily. The PopularPosts block is a left side block. The normal RecentPosts block is a left side block in other modules. That and some tiny hacks and my users aren't complaining too much.



244846
Booga
Re: Homepage
  • 2004/7/22 15:39

  • Booga

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/11/29


I copied this fromhttp://www.macambridge.com/dummies/ and awesome site that is helping me tremendously. Check it out!!

Quote:
You can also use a one-page module setup which will give you the advantage of having the link to your page appear in the main menu. Using a one-page module will also allow you to use the blocks visibility settings for the module because it appears as an option when selecting which modules the page should be visible in.

Once one module is created multitudes of duplicates can be made, this only involves tweaking about two lines.

To download a useable example click Here

To setup a one page module first create a folder and name it anything. You only need two main files inside the folder and a module image file which appears in the XOOPS modules admin.

So, you need a content file for your HTML called index.php, and a php file called xoops_version.php. The other image file only appears in the XOOPS modules admin

In this instance your content file (index.php) will look like this

<?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>

Your HTML Content Here (No Head and Body Tags)

<?php
include(XOOPS_ROOT_PATH."/footer.php");

?>

Save this file as index.php

To turn this into a module you will also need to create the file called xoops_version.php with the following content

<?php
$modversion['name'] = "mypage";//name of module
$modversion['version'] = 1.01;
$modversion['description'] = "My Module";
$modversion['author'] = "";
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "blackhat.gif";
$modversion['dirname'] = "mypage";//same name as directory folder

// Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminpath'] = "";


// Menu you can add submenus as links to other content files or modules

$modversion['hasMain'] = 1;//0 to remove link from main menu
//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/ipboard/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/weblog/";

?>

I have commented out the sub-menu links so they will not appear in the module, these can also be deleted if no sub-menu required.

Notice this line from the code above::

$modversion['dirname'] = "mypage";//name of directory

The name must match the name of the folder you created

Include an image file for your Module:

$modversion['image'] = "blackhat.gif";//image for your module appears in admin

Inside your module folder you should now have

index.php (content file)
xoops_version.php (module file)
the image file that appears in the XOOPS modules admin

Add your HTML content to the content file (index.php) and upload it to your modules folder on your server i.e.

www.yoursite.com/modules

Then go to System Admin-> Modules and install the module. This module name will appear as a link to the HTML content in your Main Menu. Remember to add access permissions in System Admin-> Groups

once you have created this one page module you could set it to be your top page and then make it invisible.....

Great idea!!



244847
Booga
No. of Posts = Group Upgrade
  • 2004/7/22 15:31

  • Booga

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/11/29


Hi, I would like to see a feature where you could create custom groups and set limits to number of posts for that group. And once a member passes a post limit they are automatically upgraded to the next group that would give them more access to what ever you have set permissions for.

It could work the same as the current rank system but for groups........

If you didn't want to use this feature you would simply set the post limits to 0.

Any other thoughts on this would be great.

Cheers,
Booga.



244848
mqualls
Re: Accessing PHP variables from template? How to?
  • 2004/7/22 15:18

  • mqualls

  • Just popping in

  • Posts: 2

  • Since: 2004/7/22


Thanks for the reply...Am now traveling down the path you suggested...Probably did not dig enough before posting my question....Thanks again!



244849
dheltzel
Re: XOOPS/SQL Question
  • 2004/7/22 15:17

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Try this:

$result = $xoopsDB -> queryF("SELECT * FROM thetesttable LIMIT 0, 30");

I don't think it likes quotes arounf the tablename, and I usually use " instead of ', but I'm not sure that matters.

Dennis



244850
dheltzel
Re: Accessing PHP variables from template? How to?
  • 2004/7/22 15:13

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


Put this line in the .php file to make the variable visible to Smarty:

$xoopsTpl->assign('rate', '1');

Also, you might try using 'eq' instead of '==' like this:

<{if $rate eq '1'}>

Dennis







Login

Who's Online

212 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 212


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