techman41973 0 Newbie Poster Team Colleague

I want to create what is called an "Exit Popup" in Jquery with the following attributes

  1. The popup is triggered when the visitor moves their mouse outside of the page.
  2. The popup box enters from either the left or right, outside the page.
  3. When the Exit Popup appears, I want it to have an "X" or close button, so the visitor can close the popup.
  4. I want a checkbox inside the popup that says "don't show this again".
  5. If the visitor clicks to "check" the checkbox, I want the exit popup to dissapear and a cookie placed in the visitor's browser.
  6. I want the code to prevent execution of the popup if it finds this cookie in the visitor's browser

I would appreciate some direction on developing this.

techman41973 0 Newbie Poster Team Colleague

OK, I'll try this. Are you sure this is the right syntax.
I'd rather not experiment, since I'm following specific instructions from my host provider and at some point loose access to the VPS that I'm adding this code to.

techman41973 0 Newbie Poster Team Colleague

I'm switching servers and need to change the following RewriteCond & RewriteRule commands in the .htaccess file.
Right now I'm pointing domain.com to www.domain.com

RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^(.*)$ "http\:\/\/www.domain.com\/$1" [R=301,L]

I need to switch the commands and do the opposite where I point www.domain.com to domain.com.
I would appreciate some help with the syntax. Thank you

techman41973 0 Newbie Poster Team Colleague

confirmed. Problem solved.
Simply executed Chown command
chown -R www-data:www-data /var/www/forum/files

techman41973 0 Newbie Poster Team Colleague

found the linux command. chown -R owner:group /var/www/forum/files
can't try it though until my host gives me ssh priveledges on my VPS.

techman41973 0 Newbie Poster Team Colleague

Sorry for the delay, I've been overhelmed with other priorities and I finally found some time to thoroughly investigate. Although I'm going back to the shared server, I still like to resolve my issues, in case I stick with my current host and need to migrate back to a VPS from shared. My host provider refuses to help me any more with this issue.

Dani was right. Images are stored in files in the relative directory named /forum/files
On the shared server, the owner/group is listed as (mydomain, mydomain)on the VPS, the owner is listed as (www-data,www-data) .
I'm certain this is the issue.

So... How do I resolve this.
It seems logistical that I should just change the ownership of all the older files owned by (mydomain, mydomain) to (www-data,www-data)
Is there a linux command that would make it easy to change the ownership of all files in a directory? I can't find a way to change the ownership for the bulk of the files in filezilla (my ftp client).

Thank you to all who have provided support. Again I'm sorry for the delay in getting back to you all

techman41973 0 Newbie Poster Team Colleague

I agree. These are excellent statements:
"with social media everything happens too quick, too live. There's no time to clearly and accurately explain or digest complex ideas"
"The only interaction between users now is via the comments, which is a poor substitute for a proper forum."
"Those that have broader ideas and need detailed and solid information will always use forums. "

techman41973 0 Newbie Poster Team Colleague

Sure, but then explain the popularity of forums like Notebook Review, Howard Forums, forums on specific android phones etc.

techman41973 0 Newbie Poster Team Colleague

I have a PHPBB forum and just ran into a serious issue after my host switched me from a shared server to a VPS, and they can't figure out how to fix it for me.
On all of my posts that contained inline attached pictures, the pictures no longer display, instead if I get a hyperlink to the image.
Instead of hyperlinks, the visitor is supposed to see actual pictures.
When I hover over the hyperlink, I see the following http://www.mydomain.com/forum/download/file.php?id=58
If I paste it directly into the browser, I get the following error message generated by file.php
"Unable to deliver file."
I'm attaching file.php to this post.
Now, if I post a new topic, attach and image and place the image inline, the image shows fine inside the post.
I'm not sure what went wrong and how I can resolve this issue.
Thank you

<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);


// Thank you sun.
if (isset($_SERVER['CONTENT_TYPE']))
{
    if ($_SERVER['CONTENT_TYPE'] === 'application/x-java-archive')
    {
        exit;
    }
}
else if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'Java') !== false)
{
    exit;
}

if (isset($_GET['avatar']))
{
    require($phpbb_root_path . 'includes/startup.' . $phpEx);
    require($phpbb_root_path . 'config.' . $phpEx);

    if (!defined('PHPBB_INSTALLED') || empty($dbms) || empty($acm_type))
    {
        exit;
    }

    require($phpbb_root_path . 'includes/acm/acm_' …
techman41973 0 Newbie Poster Team Colleague

Expecting a spike in traffic on my website. Not sure what to do.

I have a website thats currently on a shared server plan. It's been working fine.
In about a week, I'm expecting a spike in traffic during a specific 4-day event.
I could have as many as 1000 visitors at one time on my site. My site is basically a phpbb 3.0 forum.
I'm not sure what would happen with such a spike. Would the server crash or would access to the site grow to a crawl?
My host is offering to switch me to a VPS or dedicated server for a month. I'm not concerned about the cost.
I've never did this before. I'm concerned that the transition won't go smoothly and my website won't work on the new server (vps or managed dedicted), without troubleshooting my code and making changes. My website is on a shared server that uses CPANEL. Not sure if this makes the transition to a VPS of dedicated seamless and reliable. I would appreciate some insight and advice on my situation.

techman41973 0 Newbie Poster Team Colleague

I don't want the popup to show. I'd love to modify the php, the issue is that I'm struggling to find the line of code that calls the HTML template file with this button prompt

techman41973 0 Newbie Poster Team Colleague

I have a site that is running PHPBB forum software. When a moderator selects a post for approval, there is an HTML page that launches with the message "Are you sure you want to approve this post?". The page then requires the moderator to confirm the action by clicking a Yes button.

This is the HTML code that prompts the moderator to click the Yes button:

<fieldset class="submit-buttons">
  {S_HIDDEN_FIELDS}
  <input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />  
  <input type="submit" name="cancel" value="{L_NO}" class="button2" />
</fieldset>

I'd like to bypass this requirement, where automatically the {YES_VALUE} is passed, as if the moderator clicked the YES button, thereby eliminating the need for the moderator to actually click anything.

Is there a way I can modify the HTML code above to accomplish this?

techman41973 0 Newbie Poster Team Colleague

occasionally I run a backup of my phpbb forum files from the Shell command line:

zip -r forum_backup  ~/public_html/forum/*

I'd like to add date elements to the file name, so that the zip file created is automatically formed as

    forum_backup_05182013.zip

or something similar

Thanks

techman41973 0 Newbie Poster Team Colleague

When using the Grep command to find a search string in a set of files, is there a way to dump the results
to a text file?
Also is there a switch for the Grep command that provides cleaner results for better readability,
such as a line feed between each entry?
Perhaps there is a Grep script that outputs cleaner results

Thanks