931
zyspec
Re: xoops_userid issue
  • 2006/6/15 15:32

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


If you're using it inside a template (/templates/something.html) and your template is defined in the PHP code that's calling the template then you don't need any of the echo or " ". <($xoops_user}> should be directly in the html file since it is a Smarty variable. It is available inside of a Smarty template only.

If you're not using templates (writing directly from PHP - which is what I suspect since the echo code below appears to be from a .php file) you can't use the Smarty variable. You'll need to get the user name from the database using something like this...

$usrid = XoopsUser::uid
$uname = XoopsUser::getUnameFromId($usrid);

then you can echo it like:

echo "<br />".$uname;



932
zyspec
Re: Version history
  • 2006/6/14 19:42

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


klaux,

When you download the full XOOPS 2.0.13.2 package and unzip it you'll find it has a directory called 'docs'. Inside the docs directory there is a file called CHANGES.txt which contains a changelog for all versions up to the current version (2.0.13.2 in this case).



933
zyspec
Re: Error: Selected module does not exist!
  • 2006/6/11 22:52

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


At the risk of stating the obvious. Have you cleared your /cache and /templates_c directories?

You might want to use an ftp client and make sure the files look right - for example that the files are there and look like they're the right size.



934
zyspec
Re: Donations Module Advice
  • 2006/6/9 21:42

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


It's not a stupid question but I doubt anyone will give you a It's Safe "sticker". Given enough time and motivation almost any system can be compromised. XOOPS is better than most in providing security measures to prevent the type of 'hacking' you're discussing. If you keep up to date with the patches, uses as few modules as possible (to minimize risk) and use the Protector module you're well on your way to providing a secure environment for your site.

The donations module stores the information in the database so it is much better than just having your information hard coded into a form. Ultimately someone would have to hijack your site and either replace your donations page with one of their own or create a fake PAYPAL site before they could get your user's information.

There's nothing inherently risky about the x-donations module and many sites have used this module for years without any problems.

One thing to remember is that there is always a risk/reward analysis. The amount of time/effort required to attempt this appears to me to be well beyond the payback for taking such a risk on a small site taking donations (even if it eventually could be several thousand dollars).



935
zyspec
Re: Xoops Search with Mediawiki
  • 2006/6/9 21:23

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I can't answer 'exactly' since I don't have the Mediawiki module installed (and unforutnately the link to download it is currently non-operational).

To see if the MediaWiki module supports using the XOOPS search function look in /modules/mediawiki/include for a file called search.inc.php. If the file is there then the XOOPS search engine should be able to search the fields that the developers setup. If the file doesn't exist then XOOPS search won't 'crawl' the MediaWiki content.

It is, of course, possible to have the XOOPS search engine find content in MediaWiki but you may have to create or modify the search.inc.php file to make sure it searches the content you want. I'm guessing that you can find a reasonably priced developer to create/modify the file for you if you're unable to code php.

One other option is to contact the module developer and have them do it since it would seem to me to be a valuable "addition" to the MediaWiki module.



936
zyspec
Re: Event Guide Module - How To Hack
  • 2006/5/20 12:48

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Exactly which module (and version) are you using? A link to where the module may be downloaded would help.



937
zyspec
Re: My site is not loading the main page is blank
  • 2006/4/11 22:49

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


bdiallo - try clearing out your /cache and /templates_c folders



938
zyspec
Re: XOOPS IDE ?
  • 2006/4/5 14:22

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Great idea. You might try Crimson Editor. It has the normal language extensions (php, c, etc) has project support but it's also extensible. I haven't tried to see if it'll support autocomplete (it will "show" you if the syntax is correct - by changing text color) but I'm not sure how to pop up something that shows function names, etc... but now that you've peaked my interest I'll try to remember to look at it when I get a chance....



939
zyspec
Re: Crazy Error
  • 2006/4/3 20:55

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


and don't forget to clear your caches.... You might also want to double check the directory rights to make sure they're correct (for example 777 for cache directory).



940
zyspec
Re: Linking the databases of two XOOPS sites on the same server
  • 2006/4/3 16:26

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


George,

You might look at the multisite hack from Mithrandir - see more discussions here.

This may allow you to do what you're asking.




TopTop
« 1 ... 91 92 93 (94) 95 96 97 ... 100 »



Login

Who's Online

259 user(s) are online (160 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