292501
YourHelp
Re: XOOPS2 NewBB: Give moderators right to edit and delete posts
  • 2003/7/11 14:24

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


very intelligent .. but i come up with a more easier way .. make another group called moderator in "groups" in admin and give them admin rights to newbb module but nothing else.. and whallla you have moderators that have admin capability on the forum boards but no other part of the site .. this includes edit , delete ect and you dont have to do the above.

Kindest Regards
Nathan



292502
eggmcmuffin
Re: Need Help With Random Quote Module

I understand, but I'm not think to make this now. The quote will showed in a block.



292503
Jack404
XOOPS2 NewBB: Give moderators right to edit and delete posts
  • 2003/7/11 13:34

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


Firstly, find this line in your newbb_thread.html template:

Quote:

<{if $xoops_isadmin == true}>

<td class="even" align="right">
<a href="edit.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$order_current}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href='delete.php?forum=<{$forum_id}>&topic_id=<{$topic_id}>&post_id=<{$topic_post.post_id}>&viewmode=<{$topic_viewmode}>&order=<{$order_current}>'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>" /></a><a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$order_current}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a></right></td>


Replace <{if $xoops_isadmin == true}> with <{if $viewer_is_admin == true}>.

Voila! Moderators can now delete and edit individual posts!



292504
webhow
Re: Xoops Hosting Forum Launched
  • 2003/7/11 13:02

  • webhow

  • Just popping in

  • Posts: 3

  • Since: 2003/7/9 2


I actualy have the facilities to Host other sites,, This is NOT a plug for a hosting package btw.
I set things up that way so that I could easily work with more than 1 or 2 domains.
I Wonder if there are any design/stylists out there who would consider Barter. I can offer

PHPmyadmin access to multiple MySQL tables. A
reasonable amount of space and bandwidth.
front page server extensions.
perl / Mod perl
cgi
tomcat
ftp
Python
squirrelmail
ensim management console and more
all running on apache
In return I would be looking for a theme and occasional design work.. negotiated freindly stylie

would it work out? am I slap bang out of order or is barter in keeping with the philosophy of open license and the XOOPS site?

If this posting is inapropriate I apologise



292505
WildJim
Re: Configurable, optional, profile fields
  • 2003/7/11 12:05

  • WildJim

  • Just popping in

  • Posts: 4

  • Since: 2003/7/5 1


Yeah, we definitly need such feature. Especialy to build modules that take those fields in their templates too, like
<{if $xoops_isuser == true}>
your phonenummber: <{$xoops_userextrfield_phonenr}>
<{/if}>

and offcourse to write back in those fields too



292506
Compactman
Re: different location for a module
  • 2003/7/11 7:18

  • Compactman

  • Just popping in

  • Posts: 7

  • Since: 2003/1/20


sounds like another hostdome user..



292507
mvandam
Re: different location for a module
  • 2003/7/11 7:15

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Quote:

my hoster doesn't alllow me to edit the httpd.conf

still any other ideas??


You might be able to put rewrite rules in .htaccess files in appropriate directories. I don't have experience with this though, but if you search on google there are plenty of examples. It depends on the permissions set by your hoster.

If that doesn't work, I'm not sure what else to suggest. It is pretty ingrained into XOOPS that modules must reside in xoops_dir/modules/module_name...



292508
XStrafer
Re: different location for a module
  • 2003/7/11 6:19

  • XStrafer

  • Just popping in

  • Posts: 2

  • Since: 2003/6/13


Quote:
Why do you need the module moved... just the sake of a nicer URL?


no. I have subdomains created to point to a folder within the root folder (e.x.http://forum.nflame.net points tohttp://www.nflame.net/forum) those folder to make subdomains to pnint to could be created only in root folder anâ named like the subdomain name... (cpanel)

Quote:
If yes, and if you are using the apache webserver you can use the "mod_rewrite"

my hoster doesn't alllow me to edit the httpd.conf

still any other ideas??



292509
cardo
Re: Need Help With Random Quote Module
  • 2003/7/11 2:31

  • cardo

  • Just popping in

  • Posts: 8

  • Since: 2003/5/22


Hi eggmcmuffin,

Are you planning on making this module so you can place it in a location similar to where I want it on my own site? I basically want the quote to act as a slogan that is random. So instead of residing in a normal block I simply want to have it within a cell.

You can can see what I am looking for at here:

http://www.beavercheese.com/beaverproto

The text in quotes below the words Beaver Cheese is what I'm looking for. I can do this easily in PostNuke using Autotheme and the built in Quotes module but apparently I cannot do this in XOOPS. I know it sounds like a small thing, but it is something that I really want on my site and aside from that and some other template related concerns XOOPS is really what I would rather run.

Thanks,

Rich



292510
eggmcmuffin
Re: Need Help With Random Quote Module

Hi, I'm the creator of the module, and I know some bugs.

Check if you deleted any item. The module has a bug that need that all the 'quotes' need to be correlated, and begining form the position 1.

I'll review it in the next version. Meanwhile, there is a modified version of this module in the download section of this site.

Hope this help.







Login

Who's Online

259 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 259


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