71
Antoine
Re: Trying to assign a second admin
  • 2005/1/26 9:07

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Hmm, I somehow had some trouble assigning the Webmaster rank upon user creation. However, after assigning the user to the Webmaster group from the group interface it all went fine.

Can you verify that the user has been assigned to the Webmaster group from the groups interface?



72
Antoine
Re: How do I make xoop php appear in an html page
  • 2005/1/24 21:41

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


No idea what wf-channels is, but if the code just gets displayed including the html tags then it is apparently getting sanitised as if it were textbox data.
If it is only displaying the stuff between { and } it doesn't get parsed by the Smarty engine and the template should be passed to it.



73
Antoine
Re: Sites being defaced...anyone else seeing a trend here?
  • 2005/1/24 19:59

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


If you want to know if the PHP version is the latest make a file and call it test.php or something.
Make it read:
<?php
phpinfo
();
?>


That should give you the information you need.
The PHP version should be 4.3.10.

If your host runs Apache, which is quite likely I'd also place a file named .htaccess in your XOOPS root containing:

php_flag   register_globals   off


Which makes it a lot harder for hackers to control all kinds of variables that should not be directly changeable by visitors. Theoretically this can cause some issues with certain scripts but at least the XOOPS core modules should work fine with it.



74
Antoine
Re: real estate mod request
  • 2005/1/23 23:58

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


If you'd place a link to what it does now, preferably with source code.

Though I'm still more in the market for mods making imagemanager.php more flexible in it's output...anyone?



75
Antoine
Re:Select the level of strictness for username filtering
  • 2005/1/22 20:56

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Open: /language/english/user.php

And change:

define('_US_INVALIDNICKNAME','ERROR: Invalid Username');


To read:

define('_US_INVALIDNICKNAME','ERROR: Invalid Username - Letters Only Please');



76
Antoine
Re: Block Title
  • 2005/1/22 15:10

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Yes I've already looked into that option but it would involve changes into too many XOOPS core components, like /kernel/block.php, /modules/system/admin/blocksadmin/* and /install/*, to make it a quick solution.

If it would even be desirable to make it a theme independent feature that is. It could be gracefully implemented in a theme if one would write a custom Smarty function that'd do something like PHP's file_exists() function.

And yes arguably you could have smarty generate a class attribute per block based on the title, but if anything that would only serve to make things more complicated and not neccesarily more consistent, since the site logo has been hard-coded into the theme.html file too, rather than invoking it based on a CSS.

EDIT: Lol @ XoopsProtector thinking I'm trying to comment out an SQL statement and adding a closing comment!*/



77
Antoine
Re: Block Title
  • 2005/1/22 14:34

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Editing the style.css would not allow you to specify an image per block, only one image to be used with all blocks. If you want to do something in a theme dependent way, but still have some flexibility (I assume you want a different image per block) I'd suggest, using the default theme as an example, to change theme_blockleft.html and them_blockright.html to read:

<div class="blockTitle"><img src="<{$xoops_imageurl}>/<{$block.title|replace:" ":"_"}>_image.jpg"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>


Then you'd place all images in the directory of the theme you are using and name them blocktitle_image.jpg, where you would replace blocktitle with the title of the block, replacing spaces with an _.

Be advised however that every block you now display should now have a corresponding image or a broken image link will be displayed.

There is a possiblilty to include PHP code into the template to check wether an image exists but this would become so cumbersome you'd be better off adding this block icon functionality to the XOOPS core.



78
Antoine
Re: advice needed for feedback posting
  • 2005/1/22 13:33

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


I guess the contact module would accomplish this target though the feedback would not be publicly visible.
Otherwise you could choose to allow feedback to specific news articles by anonymous users.



79
Antoine
Re: Block Title
  • 2005/1/22 13:29

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


The Block titles to be displayed are edited using the blocks admin. Inputted titles are most probably stripped of any html code so I think it would require some code hacking to get this done.



80
Antoine
Re: A Script like this...
  • 2005/1/22 13:22

  • Antoine

  • Friend of XOOPS

  • Posts: 112

  • Since: 2004/11/14


Basically what I saw on that page is a less powerfull version of the already implemeted site-wide commenting system XOOPS is using, but it doesn't look exactly the same.

If you really insist on having the look he uses I would reccomend:

1) Using a theme that displays the center block group on the bottom by having it included in the footer instead of the header.
2) Asking that guy for the source code of his comment script (though it wouldn't be that hard from scratch since it doesn't seem to be tied into any user management system. It just reads the parameters and dumps 'em in a database apparently.
3) Convert that code into a XOOPS block to be placed and displayed in the center area.

Though I would advise you against allowing anonymous users access to such functionality. But if you must make sure you have some way of moderating and sanitise the input well.




TopTop
« 1 ... 5 6 7 (8) 9 10 11 »



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: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits