290001
Shelia
Re: Menu vs Blocks
  • 2003/10/18 18:49

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


Thanks for the help - that was simple enough!

Shelia



290002
Zicane
Xoops vs E-xoops - The battle
  • 2003/10/18 18:22

  • Zicane

  • Just popping in

  • Posts: 24

  • Since: 2002/12/12


hi

I have testet both XOOPS and E-xoops for a long time now. With many sites includeing these 2 sites.


http://www.gamefreaks.dk runs on xoops
http://www.devilgames.com runs on e-xoops


and for those who dont know what to choose, here is what I think.

I must confes that I like both, in there own ways.


The good side of e-xoops:
1. E-xoops has the best newsletter, here you can send as many newsletters you want without problems, even in html (a real plus).

2. The banner module in e-xoops is much more advanced, you place in blocks etc.


The good side of xoops:
1. Everyting else is better


So to all who are in doubt, choose xoops, im sure the 2 points e-xoops is better in, the core team will make better some day.


All I know is, that all future sites I will make, will be in XOOPS.

Sorry for the badly writen english




290003
Shelia
Re: News Archives
  • 2003/10/18 18:21

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


All except one news article has completely disappeared!

Any suggestions?



290004
phatjew
speaking of permissions for modules . . .
  • 2003/10/18 17:34

  • phatjew

  • Just popping in

  • Posts: 56

  • Since: 2003/10/8


The module I am writing has sub-menu items in the main menu. One of them is a "submit" link, exactly lke the one for the Web Links module. However, I only want the submit menu option to show up for certain groups. Is there a way to change a module's Main Menu options based on group permissions?

Thanks in advance for any help with this.

--Rafi

Speak to me in PHP.



290005
DarkDeath
PH Help....MySQL Help too lol
  • 2003/10/18 17:10

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


Working on a form to Update exiting entries in a table.... really wracking my brain cause im using a form with the values set to the existing tables.. and all that works... its the output of the form and the update that im having a problem with.... The output variables arent transfering to my update query.... well heres the code...


Here is the FORM...this is PART of the whole file.... this part all works.. its the action thats not..
{
$edit .= "<FORM action="http://www.thisgeneration.com/modules/cjaycontent/content/encounters_form_update.php" method="POST">
<input type="hidden" name="id" value="$row[id]">
<
input type="hidden" name="redirect" value="http://www.thisgeneration.com/modules/cjaycontent/index.php?id=29">
<
table>
<
tr><td align="right">Script Title: </td><td><input type="text" name="script_title" value="$row[script_title]size="52"></td></tr>
<
tr><td align="right">Script: </td><td><input type="text" name="script" value="$row[script]size="52"></td></tr>
<
tr><td align="right">Content Title: </td><td><input type="text" name="content_title" value="$row[content_title]size="52"></td></tr>
<
tr><td align="right" valign="top">Content: </td><td><textarea name="content" rows="20" cols="52">$row[content]</textarea></td></tr>
</
table>

<
input type="submit" name="submit" value="submit"> <input type="reset" value="reset">
</
FORM>";


}
?>


Here is the file set to the Forms Action... its my POST variable that arent working write... its updating and everything.. but its updating to {$_POSTBLAHBLAH and not the ACTUAL content..

<?php
$dbname 
"thisgene_sitearticles";            // Place the database name here
$tablename "encounters";                // Table name here

$dbconnect mysql_connect ("localhost""thisgene_porter""102073") or die(mysql_error());

$db = @mysql_select_db($dbname$dbconnect);


$sql 'UPDATE `encounters` SET `script_title` = '{$_POST[script_title]}',';
$sql .= ' `script` = '{$_POST[script]}',';
$sql .= ' `content_title` = '{$_POST[content_title]}',';
$sql .= ' `content` = '{$_POST[content]}' WHERE `id` = '11' LIMIT 1 ;';
$sql .= ''




$result = @mysql_query($sql$dbconnect) or die(mysql_error());

echo 
"Entry Updated  |  Click <a href=http://www.thisgeneration.com/modules/cjaycontent/index.php?id=27>HERE</a> to return to the Menu."

?>



PLEASE help lol



290006
catalin
I have done it :)
  • 2003/10/18 16:31

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


1. visit www.cyber-cup.ro/index.html

2. visit www.cyber-cup.ro/index.php

3. EXACTLY THE SAME

4. get html out of php

Remember what i used to blaber around about a script that should tranform php into html. i`ve done it ....

i`ve done it for just 1 page ... the index.php ... but if the XOOPS core team can take this project further i don`t mind ...

i can`t figure out how to do this recursive for every page ... and how to make the script change the hyperlinks to the html versions of those links. i need help ... can someone help me ?



290007
phatjew
Re: How to change default group when user registers
  • 2003/10/18 16:30

  • phatjew

  • Just popping in

  • Posts: 56

  • Since: 2003/10/8


I noticed those lines in Mainfile.php before, and they concerned me at that time. If I want to add new groups, should they also get global defines for them, like this:

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');
define('XOOPS_GROUP_STAFFWRITER', '4');

Do these have to be added manually, or are they unnecessary?

--Rafi



290008
holo2
Re: installing problem
  • 2003/10/18 16:00

  • holo2

  • Just popping in

  • Posts: 2

  • Since: 2003/10/18


first when i right click i see properties and i uncheked read only mainfile.php but for the dir cache, upload and templates_c i cant seem to be able for some reason.i unselect read only but it never does also this is the error that shows on top of my page Warning: copy(../mainfile.php): failed to open stream: Permission denied....\xoops\html\install\class\mainfilemanager.php on line 52

thx again



290009
Mithrandir
Re: Menu vs Blocks

Yep.
In xoops_version.php set:

$modversion['hasAdmin'] = 0;

Or just set the order in the module administration to 0 (0=hide)



290010
Shelia
Menu vs Blocks
  • 2003/10/18 15:31

  • Shelia

  • Not too shy to talk

  • Posts: 140

  • Since: 2003/6/22


Is it possible to include a module in a Block and not have the module displayed in the Main Menu?








Login

Who's Online

224 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 224


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