Jump to content

deanavail

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by deanavail

  1. With Google Apps for Domains (GAFD), Gmail ample storage, and IMAP remote access capability, deploying concurrent access of shared mailboxes for domains is available now. It is essentially same as you would have with a corporate Exchange email server. It is having say three shared domain mailboxes hosted at TCH with domain example.com. team members can have concurrent access to these three shared mailboxes say across multiple outlook client connections, webmail, and blackberry mobile wireless conections. team members can sync folders and see which conversations have already been answered and which still need replying to. I am interested to hear about your experience deploying such a solution, specifically: 1)With IMAP, Can your team see which emails have been replied to by other team members? 2)With IMAP, does the blackberry wireless offer near instant access of your domain shared mailboxes? 3)Can you reply on those blackberrys and see near instant update on your IMAP access shared domain mailboxes. 4)Email headers in gmail only show the gmail server. Email headers of TCH hosted mailboxes show origin ip. Is there a way to prevent Email headers from showing origin IP and simply show the email server location in the from: in the email header?
  2. how long after editing /tmp/awstats/awstats.domain.com.conf with SkipHosts="ip.add.res.sx" and verifying 0444 permissions does it take for awstats to show revised access results exclusive of ip addresses listed in skipHosts ?
  3. because it is quick and easy. Is the omicron solution slightly better ?
  4. Back from the crypt, I asked this question on another thread but got no replies, so maybe a new thread on this topic may stir more dialogue. How can backup cron job, referenced in above link, delete all but most recent backup to eliminate need to manually delete older backups to save webserver disk space? The cron job referenced creates a backup named as below on a daily basis and locates the backup at webserver root: backup-12.30.2006_03-30-03_cpanelid.tar.gz ; over time disk space is filled up and older backups have to be deleted manually.
  5. Howdy How can cron job delete all but most recent backup to eliminate need to manually delete older backups to save webserver disk space? The cron job referenced in this topic creates a backup named as below on a daily basis and locates the backup at webserver root: backup-12.30.2006_03-30-03_cpanelid.tar.gz ; over time disk space is filled up and older backups have to be deleted manually.
  6. After forum requests and an onslaught of repeated help tickets for the same nuisance Joomla site file permission issue, I wish to congratulate Tim and Carl from TCH helpdesk for taking responsibilty to resolve this problem efficiently by creating a cron job which will run and reassign site owners and permission on Joomla site files. Thanks to the TCH helpdesk for demonstrating customer focus.
  7. As more Joomla installs come in to TCH, expect more help tickets including mine. There is got to be a better way. I will do what I can to help TCH and I figure out a way.
  8. Thumbnails not showing in gallery2 problem fixed. Thanks to TCH JimE, it turns out that thumbnails were not showing due to a NetBPM grahic toolkit conflict. fix: 1. change graphic toolkit priority: gallery2 admin > garphic toolkit priority > ImageMagic then NEtBPM then GD 2. recreate thumbnails.
  9. Thanks for sharing this link. A real timesaver.
  10. It appears that Mamboxplorer or Joomlaxplorer has not solved these file permission problems for some of the posters on the above link. The last poster said: I would think that TCH is being flooded with help tickets to change file permissions. Any thoughts from TCH on a solution to this nagging problem? Is a cron job a solution ?
  11. ok Tim, used fantastico and specified a folder below root as such /domain.com/gallery. fantastico emailed successful install to /doamin.com/gallery logged into this new gallery site admin, added an album, uploaded pics to this new album. Now when you browse to /domain.com/gallery, you get gallery base theme with an icon representing this new album, press this icon, you get icons representing thumbnails of these pics but no image thumbnails. if you have an idea, how to display thumnail matrix instead of icons representing thumbnails, plz advise, I can also pm link to this galley
  12. yes sir, I used fantastico to install Joomla and it is already running ok. I renamed both the stock site .htaccess and the Joomla stock .htaccess files because both files are located at the root. Fantastico installs menalto Gallery 2.0.2 but when I submit request to install , it gives error --> Install Gallery (2/3) The installation can not be completed: - You cannot install more than one script in the root directory of a domain. Click on the browser's Back button to fix reported errors.
  13. hello Sir, how do you suppose to get Fantastico to install menalto gallery at the root?
  14. R u using Joomla? I am testing Joomla on a new site and I have run into a snag, thought you can direct me if you came across this. Using Fantastico I installed Joomla and it is running ok, then tried to use fantastico again to install menalto gallery 2 in root folder. Fanstaico gave me error: Install Gallery (2/3) The installation can not be completed: - You cannot install more than one script in the root directory of a domain. Click on the browser's Back button to fix reported errors. Have u come across this? did you have to install in folder below root? or do I have another issue here to troubleshoot?
  15. airjnkie2000, not sure if you tried out the modified script i provided you but note that you would know that your $result is empty by printing out its contents to verify it. It is a good idea to add this block of code whenever you are troubleshooting calls to mysql. >// test what is in $row // print "<table=border=1>\n"; while($row=mysql_fetch_array($result)) { print "<tr>\n"; foreach ($row as $field=>$val ) print "<td>$field</td><td>$val</td>"; print "</tr>\n"; } Print "</table><br>\n";
  16. you can do two ways: 1. issue include statement defining include directory each time: <?php include $_SERVER['DOCUMENT_ROOT']."/phpincludes/event_cpa_navigation.php" ; ?> 2. what happens if you decide to change servers, portability is an issue, you will have to go to wherever your include statement are at and change each one. If you have a bunch of pages you will be busy a while. Better method is to set a an includes path so if you change servers you just reset the include path once. you would need to: add .inc to the file name just so you know it is an include file (this is optional) place all your .inc include files in a library directory, set the path to this library directory as below: include_path .:/home/user/cpanelid/htdocs/cpadventures/lib/ and then call the specific include file as below: <?php include("event_cpa_navigation.inc.php") ; ?>
  17. how about frst listing everything in $row then reformat the output in a print statement as indicated below: ><?php $result = mysql_query("SELECT media_id, thumbnail, file, path FROM media_info WHERE media_id = RAND() LIMIT 3") or die(mysql_error()); // test what is in $row // print "<table=border=1>\n"; while($row=mysql_fetch_array($result)) { print "<tr>\n"; foreach ($row as $field=>$val ) print "<td>$field</td><td>$val</td>"; print "</tr>\n"; } Print "</table><br>\n"; // reformat results in a print statement // while($row=mysql_fetch_array($result)) { print "<a href=\".$row['path']."?media_id=".$row['media_id']."><img src=\".$row['thumbnail'].">alt=\"\" width=\"100\" height=\"80\"></a><br> } ?>
  18. glad to hear you got the breadcrumb script working. Hope to see you all very soon on another script discussion.
  19. carbonize, you are absolutely right, never never assume. wampthing, it should work fine, can you recheck that you copied script verbatim and save it as crumb.php in your www.sitedomain.com/includes/crumb.php edit a new page and place <?php include $_SERVER['DOCUMENT_ROOT']."/includes/crumb.php"; ?> at the top add <? echo "testing 123" ;?> right below it save page as test.php right below root and upload browse this test page www.sitedomain.com/test.php and what do u see? although I have not tested php code in .shtml, you have to tell php to parse within .shtml files. This is likely done in your php.ini file, check with TCH support. good luck
  20. That should say $PHP_SELF = $_SERVER['PHP_SELF']
  21. So we have dialogue, Thank you all for stopping by. I was beginning to think that script talk was dead at TCH carbonize,$PHP_SELF = $_SERVER['DOCUMENT_ROOT'] if register_globals is set to on, u can check your setting at www.yoursite.com:2082/phpinfo.php weissi, I like how cpmpact your code is, 12 lines versus 22 lines in my improved FBD script, shown below. Both scripts are identical in how they strip out "/" from URI Path and the file extensions ".php" etc. using two explode() functions. The FBD script however offers the following advantages for those additional 10 lines of code, namely: The ability to turn the current file into a link and not just the heirechal structure in the breadcrumb. The ability to hide certain filenames within folders from the breacrumb by defining those in $def variable. The ability to turn underscores in file names to spaces in the breadcrumb. The ability to use CSS to style both links and link separator in the breadcrumb using class .dynNav ><? /* PHP dynamic link bar script FranÁois/Brett/Deano, AKA FBD, script set root with $def variable set Home link with $rootlink variable set separator with $separator variable set link style with CSS class a.dynNav set separator style with CSS class .dynNav */ $rootlink = "Home"; // define root link $separator = ">>"; // define separator $def = "index"; //default web page for directories on your server. $dPath = $PHP_SELF; //Get the script path, relative to web root. $dChunks = explode("/", $dPath); //Separate out folder and file names by looking for slashes. $dChunkcount = count($dChunks); ?> <a class="dynNav" href="/"><? print $rootlink ?></a> <span class="dynNav"><? print $separator ?> </span> <!-- make a leading $rootlink --> <? for($i=1; $i<$dChunkcount; $i++) { //PHP arrays are 0 inxeded skipping the first element because of how explode() works echo("<a class=\"dynNav\" href=\"/"); //Make each chunk a link. for($j=1; $j<=$i; $j++) { //Subloop to create the path for each chunk. echo($dChunks[$j]); //Write each piece of the chunk's path. if($j!=$dChunkcount-1) print "/"; //If that piece was a folder name, append a slash. } if($i==$dChunkcount-1) { //If the chunk is a file, not folder name... $prChunks = explode(".", $dChunks[$i]); //take out the file extension... if ($prChunks[0] == $def) $prChunks[0] = ""; //don't display the filename if it's index or whatever default you specified. $prChunks[0] = $prChunks[0] . "</a>"; //add the closing tag. } else $prChunks[0]=$dChunks[$i] ."</a><span class=\"dynNav\"> ". $separator." </span>"; //Otherwise, just use the chunk name, close tag and add a paddeslash for display. echo "\">"; echo(str_replace("_" , " " , $prChunks[0])); //Finish writing the link, replacing underscores with spaces for the end user } ?> wampthing, you absolutely can place your breadcrumb script in an includes folder , say /home/includes/crumb.php and call it up on any page by simply adding the following command: ><?php include $_SERVER['DOCUMENT_ROOT']."/includes/crumb.php"; ?>
  22. Hello if you are out there TCH members, moderators, and Gurus, I have revised the above script further should any one care to discuss breadcrumb scripts.
  23. I would like to hear about best practices in adding breadcrumb feature to a LAMP site. Maybe we can refine choices to the best out there. Here is a pure PHP script I am using to add breadcrumb navigation. I call this php script with an include on any page which needs to show breadcrumb as such: <p><? include('/breadcrumbgen.php'); ?>
  24. Could someone comment on best practices for adding breadcrumb to a LAMP site, specifically: is it better to do it with a function or a class? with TCH now running PHP 4.4.1, is javascript even necessary to add breadcrumbs to a site? Is it necessary to write directory tree (folders and file structure) to a mysql table to improve depth and functionality? Zend has 2 breadcrumb navigation scripts listed below: newer: 0 A Cool Recursive Links Script- path.php http://www.zend.com/codex.php?id=362&single=1 is a 4 star older: Breadcrumbs navigation http://www.zend.com/codex.php?id=414&single=1 is a 0 star Any comments on these or suggestions to any best practices breadcrumb script?
×
×
  • Create New...