61
jfebus
Re: Wow! Does any one has any ideas about creating Diaries/Journals?
  • 2004/11/27 5:38

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Is there a way to allow the users to create the blogs? I don;t want to create a blog for all my users!



62
jfebus
Re: Looking for a BLOG!
  • 2004/11/27 5:07

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


I did and all that I found was people complaining about the modules...

Thanks for the "help"

Quote:

Herko Coomans wrote:
use the search feature? This has been asked and answered before. Also, look in the module repository.

Herko



63
jfebus
Looking for a BLOG!
  • 2004/11/26 20:28

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All,

I would like to provide my users with a blog. One of the requirements is that each users can have his own blog.

Any suggestions?

Best Regards



64
jfebus
ISTATS; Only the unique referer domain name as a stat
  • 2004/11/21 12:32

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All,

ISTATS is a great package, but I found the referer report was including all the query string as part of the referer. Another thing it was recording the same domain multiple times due to way the domain was writteN (www.tumaternidad.com <> WWW.TUMATERNIDAD.COM )

To get a unique name of the domain as a stat in ISTATS replace the original code with the following \modules\istats\include\counter.php
/**
 * @feature
 * Keeps track of referers
 */
$referer $HTTP_GET_VARS['referer'];
$referer_array parse_url($referer);
$referer $referer_array['host'];

if (
$referer<>"") {
    
$referer strtolower("http://".$referer);
} else {
    
$referer strtolower("http_referer_blocked");

}

if (!
strstr(strtolower($referer), strtolower(XOOPS_URL))) {
    
$check_ref getResult("select * from ".XOOPS_DB_PREFIX."_is_referer where ucase(url)='".$referer."'");
    if (
$check_ref) {
        
mysql_query("update ".XOOPS_DB_PREFIX."_is_referer set count=count+1 where url='".$referer."'");
    } elseif(
$referer != "") {
        
mysql_query("insert into ".XOOPS_DB_PREFIX."_is_referer values('', '".$referer."', '1')");
    }
}


This will also log the referals with an empty HTTP_REFERAL (firewall users) and will use the document.rererral value from the script in theme.html.

Please change the script in theme.html to:
<{if $xoops_isadmin != 1}>
<
script type="text/Javascript">
  <!--
    
istat = new Image(1,1);
    
istat.src "http://WWW.YOUR_WEBSITE.COM/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
    
//-->
</script>
<{/if}>


Enjoy it!



65
jfebus
XCGAL:Ordering Albums by User Name
  • 2004/11/19 22:42

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All,

To order the album by the user name in XCGAL

in INDEX.PHP look for the list_users() function and change this:
$sql =  "SELECT category, COUNT(DISTINCT a.aid) as alb_count,".
            
"        COUNT(DISTINCT pid) as pic_count,".
            
"        MAX(pid) as thumb_pid ".
            
"FROM ".$xoopsDB->prefix("xcgal_albums")." AS a, ".
            
"".$xoopsDB->prefix("xcgal_pictures")." AS p WHERE category > ".FIRST_USER_CAT." AND p.aid = a.aid ".
            
"AND approved = 'YES' ".
            
"$FORBIDDEN_SET ".
            
"GROUP BY category ".
            
"ORDER BY category ";

To this:
$sql =  "SELECT category, COUNT(DISTINCT a.aid) as alb_count,".
            
"        COUNT(DISTINCT pid) as pic_count,".
            
"        MAX(pid) as thumb_pid ".
            
"FROM xoops_users x, ".$xoopsDB->prefix("xcgal_albums")." AS a, ".
            
"".$xoopsDB->prefix("xcgal_pictures")." AS p WHERE category > ".FIRST_USER_CAT." AND p.aid = a.aid ".
            
"AND approved = 'YES' ".
            
"AND uid=category-10000 ".
            
"$FORBIDDEN_SET ".
            
"GROUP BY category ".
            
"ORDER BY uname ";


Enjoy it!



66
jfebus
Re: newbb link to users xcgallery
  • 2004/11/19 20:46

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


anyone?
Quote:

jfebus wrote:
Hi All,

Any idea is there is a hack that will show a link in newbb to the user xcgallery albulms?

Best Regards,

jose Febus



67
jfebus
Re: Note from my hosting service
  • 2004/11/19 13:12

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi,

i am using XOOPS 2.0.7, with xcgal, newbb, smartfaq, xoopspoll and I have 2,000 visitor daily. The server is windows running iis...

and my host had a DOS attack to days ago!

It is possible that the high CPU usage be related to the DOS Attack?

Thanks,,



68
jfebus
Note from my hosting service
  • 2004/11/19 12:52

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All,

I got this email from my hosting service.

Any idea of what is causing the problems?

Quote:
We have been monitoring this site for the past 2 days, and the php executions are using 100% of the cpu time causing the server to become unstable. I have temperarily stooped this site for testing purposes, and the server once again is stable. We ask that you look at the queries it is executing, as this cannot be allowed to monopolize the whole server.


Best Regards,

Jose



69
jfebus
Re: Where to include a php file ?
  • 2004/9/23 19:30

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


the purpose of the requiere() file is just to update a stats package, no output will be send back to the user.

Any ideas?



70
jfebus
Where to include a php file ?
  • 2004/9/23 17:37

  • jfebus

  • Just popping in

  • Posts: 97

  • Since: 2004/9/1 1


Hi All

I need to enter
<?php require("/stats/stats.php"); ?>
in the pages presented by xoops.

Which page I need to modified?

Best regasrds,




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



Login

Who's Online

309 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 309


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