(I'm no expert but...) I don't think you can edit the block to only show the REAL posts.
I have a other solution for you but it will not remove the number of comments already made from the number of userposts. It will just not add a future comment to the number of userposts.
Here's my hack (I haven't tested it, so i don't know if it works...): Open root/include/comment_post.php On line 171, 211, 222 and 252 change
$add_userpost = true;
to
$add_userpost = false;
(Or just use search and replace to replace it everywhere )
This should work, if it doesn't just say it then i will search further.
Greets Dylian.
[edit]For deleting the number of comments from the total user posts a function could be created wich does something like:
//File: update_total_posts.php //This doesn't realy work, it's just a example of how it would look like
include("mainfile.php"); //If you place it in the root include(XOOPS_ROOT_PATH."/header.php");
Do you understand dutch? (Because i can't remember mentioning this project enywhere other then my website).
About your question (This is no public announcement so please no further questions about this...): The project you mentioned (XOOPS Mobile/xMobile) is a module for showing XOOPS content on a mobile phone or pda. It's based on the old XOOPS WAP hack from blizengineers, but now it gets al the settings from the database (exept wich plugins to use, this is not finished yet). For a demostration of this module you can go to http://www.dylian.melgert.net/software/beta/modules/mobile .
It uses plugins to get information from module's, in the XOOPS hack this was done using just separate php file's and linking them in the index.php.
I hope you understand it now?
Greets Dylian.
[edit]I will release it when i've got everything to work with the database (i hope within two mont's but dont promise anything)[/edit]
[edit2]I am also trying to update the HAWHAW (used for rendering the wap/mobile pages) kernel to the latest version, but this is a lot harder then i tought [/edit2]
If a user goes to a form he doesn't have access to he will be redirected to the mainpage. At the mainpage you will find all forms that are active for the current user. Because you have no forms active for anonymous users they won't see anything.
You could fix this by placing a block on the homepage of xforms wich is only visable for anonymous users.
About your the captcha form, did you enable it in the module settings??
About the file's (In the future this wil go in the readme)... clone.exe : A WINDOWS program for cloning the module. clone.au3 : The AutoIt source file of the program. clone.ini : The settings used for the program (DON'T CHANGE THE CONTENT OF IT!) GrepWin.exe : A WINDOWS tool for replacing text in multiple files, my program uses this tool.
What you say about that you get a blank page when viewing a page you don't have permision to is new, it works just fine for me. I get a XOOPS redirect with a text like you sad...
And at last, wich version of XOOPS do you use? xForms is only designed for 2.3* !
/** * Function: b_mylinks_top_show * Input : $options[0] = date for the most recent links * hits for the most popular links * $block['content'] = The optional above content * $options[1] = How many links are displayes * Output : Returns the most recent or most popular links */ function b_wfbooks_top_show( $options ) { global $xoopsDB;