1791
trabis
Re: Are you insterest in a site that supports more than one xoops?
  • 2008/4/9 0:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Creating the forums now, if you needing help(with modules, themes, plugins) you can post there to.

I posted a "hack" for selected menus in multimenu.

Does anyone can knows the link for Highlighting code in [code] tags? I have read it somewhere in this forum and can not find it anymore, it would be handy now.

Thanks!



1792
trabis
Re: Private messages
  • 2008/4/7 18:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Do like this:


xoops_header();

$badusers = array(12,34,102,45);

if ($xoopsUser) {
if (in_array($xoopsUser->getVar('uid'), $badusers) && $to_userid==ofendeduserID) redirect_header('index.php', 3, _PM_MESSAGEPOSTED);

$myts =& MyTextSanitizer::getInstance();


replace 12,34,102,45... for the bad users IDs.



1793
trabis
Re: Private messages
  • 2008/4/7 12:53

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


If you are NOT using a PM module than you could do this:

Edit pmlite.php

Find around line 49:

xoops_header();
if ($xoopsUser) {
$myts =& MyTextSanitizer::getInstance();

make it this way to prevent the baduser to send a message to the ofended user:

xoops_header();
if ($xoopsUser) {
if ($xoopsUser->getVar('uid')==baduserID && $to_userid==ofendeduserID) redirect_header('index.php', 3, _PM_MESSAGEPOSTED);
$myts =& MyTextSanitizer::getInstance();



make it this way to prevent the baduser to send any messages:

xoops_header();
if ($xoopsUser) {
if ($xoopsUser->getVar('uid')==baduserID) redirect_header('index.php', 3, _PM_MESSAGEPOSTED);
$myts =& MyTextSanitizer::getInstance();


Don´t forget to replace baduserID and ofendeduserID for the right ones.
It will say that the message was posted eheh, this way you will never ear a complaint!



1794
trabis
Re: help on a module... not any response
  • 2008/4/7 12:26

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I never used the module but I can give it a try.
Send me a PM with a link to download it and the info you have.



1795
trabis
Re: Are you insterest in a site that supports more than one xoops?
  • 2008/4/7 0:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I´ve started to build a site to suport XOOPS based cms, it is called XUUPS and stands for XOOPS User Utilities. It should provide links, downloads, support forums, and a section dedicated to module developers to post their tutorials, hacks and whatever they like.
Doesn´t matters what core you use, modules will be modules, themes will be themes, political issues stay outside please.

I installed 2 modules I´m working on. "Users" that is a profile module based on smartprofile, and publisher that is based on the news module.
"Users" does not bring anything new, just some bug fixes and a diferent layout similar to yogurt.
"Publisher" has a lot of new features and you will be able to test them all very soon. The goal is to keep an easy tracking of articles and publishers.

I implemented also a "Xoops Related Sites" custom google search so you can easely find the most important of all
: information.

I need help, not a army nor a war.
Visit xuups.com if interested.
See ya



1796
trabis
Re: Show us the $$$....!
  • 2008/4/3 20:45

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Can I play to?



1797
trabis
Re: Are you insterest in a site that supports more than one xoops?
  • 2008/4/3 20:33

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I am. I do have hosting and domain for it. I did not sarted yet because I´m short of time. If you want to trade ideas send me a PM ok?



1798
trabis
Re: Does GoDaddy Support XOOPS?
  • 2008/3/11 13:57

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Of corse, I use it with no problem. The one problem with GoDaddy is that he runs php4 by default and you need to use .htaccess to make it run php5 if you want to use php5 modules.



1799
trabis
Re: dev.xoops.org module ?
  • 2008/2/18 21:47

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I did stop yes, I´ve been busy with a new version of the news module but as soon I have some time I will get into it again. All versions I cross of x forge were unstable and incomplete. The one I was working on was xoopsforge. It works in XOOPS 2.x but is not secure.



1800
trabis
Re: php5/mysql5
  • 2008/1/27 13:26

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


My server runs php4 by default so I have to put a .htaccess with:
AddHandler x-httpd-php5 .php
AddHandler x
-httpd-php .php4


However, using .htaccess in my root causes problem in making comments(just for some users) and with some modules(for all users).

I choose to use it just under the module folder that requires php5 to run.




TopTop
« 1 ... 177 178 179 (180) 181 182 183 ... 190 »



Login

Who's Online

190 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 190


more...

Donat-O-Meter

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

Latest GitHub Commits