Free posters ad on coppermine
| Author |
Message |
Śyama_Dāsa


Joined: Apr 19, 2004 Posts: 2049 Location: Dragonfly CMS Tribe
|
|
| Back to top |
|
 |
str8Shooter


Joined: Jan 04, 2005 Posts: 71 Location: S.E.U.S.
|
Post subject: Re: Free posters ad on coppermine Posted: Wed Jan 26, 2005 1:37 am |
|
I get this when clicking on the link you have.
www.waa.com.au/?name=c...;file=help
"This website is currently under construction."
_________________ When your only tool is a hammer, all your problems begin to look like nails. - Mark Twain -
So loose the hammer and Get FireFox, best served with CPGNuke.
str8Shooter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/2.0.51 (Fedora)/MySQL 4.0.24-4/php 4.3.11-6/9.0.3 |
|
| Back to top |
|
 |
Śyama_Dāsa


Joined: Apr 19, 2004 Posts: 2049 Location: Dragonfly CMS Tribe
|
|
| Back to top |
|
 |
str8Shooter


Joined: Jan 04, 2005 Posts: 71 Location: S.E.U.S.
|
Post subject: Re: Free posters ad on coppermine Posted: Wed Jan 26, 2005 2:37 am |
|
Sorry folks. That was a test site which no longer exists. I'll check my profile to remove it, if it's there. If not, forget any links to it from previous posts.
I decided to copy an existing php-Nuke 7.4 production site to test an upgrade to Dragonfly.
Although we've found no major problems, we found a few things that were remedied in a few minutes time.
Quote:
Example:
If you're upgrading a php-Nuke site on an existing database:
(Our problems were from the following modules):
WebLinks
FAQ
(these were our only two we found pertinent to Dragonfly RC1 - no admin control after the database update until performing the following)
We found that after removing/deleting the modules from our /modules tree and removing the tables from our original database (AFTER making a BACKUP of the original table(s))
After logging in as admin, be sure the old modules no longer exist in the modules listing.
Upload those modules again (via FTP), and install them using the CPG install links provided.
After reinstalling them, use phpAdmin and re-insert the data from your original databases, i.e. SQL/Insert/.
BELOW IS EXAMPLE TABLE DATA FYI
# --------------------------------------------------------
# Dumping data for table `cpg_TABLE`
#
INSERT INTO `cpg_TABLE`
INSERT INTO `cpg_TABLENAME` (`attach_id`, `post_id`, `privmsgs_id`, `user_id_1`, `user_id_2`) VALUES (1, 690, 0, 2472, 0);
# --------------------------------------------------------
If I've added steps this process that are unnecessary I hope those in the know will kick me good and correct any omissions or wrongs I've made.
_________________ When your only tool is a hammer, all your problems begin to look like nails. - Mark Twain -
So loose the hammer and Get FireFox, best served with CPGNuke.
str8Shooter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/2.0.51 (Fedora)/MySQL 4.0.24-4/php 4.3.11-6/9.0.3 |
|
| Back to top |
|
 |
str8Shooter


Joined: Jan 04, 2005 Posts: 71 Location: S.E.U.S.
|
Post subject: Re: Free posters ad on coppermine Posted: Wed Jan 26, 2005 2:38 am |
|
oops! Sorry. I meant to post this in another forum.
_________________ When your only tool is a hammer, all your problems begin to look like nails. - Mark Twain -
So loose the hammer and Get FireFox, best served with CPGNuke.
str8Shooter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/2.0.51 (Fedora)/MySQL 4.0.24-4/php 4.3.11-6/9.0.3 |
|
| Back to top |
|
 |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
Post subject: Re: Free posters ad on coppermine Posted: Wed Jan 26, 2005 3:37 am |
|
where so we can move to there ?
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS |
|
| Back to top |
|
 |
str8Shooter


Joined: Jan 04, 2005 Posts: 71 Location: S.E.U.S.
|
Post subject: Re: Free posters ad on coppermine Posted: Wed Jan 26, 2005 3:45 am |
|
Now that it's here, I'm unsure.
That's gotta be up to you. I hope it doesn't fit the Rule Breakers: cpgnuke.com/Forums/vie.../f=14.html
Typically me, I got carried away.
_________________ When your only tool is a hammer, all your problems begin to look like nails. - Mark Twain -
So loose the hammer and Get FireFox, best served with CPGNuke.
str8Shooter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/2.0.51 (Fedora)/MySQL 4.0.24-4/php 4.3.11-6/9.0.3 |
|
| Back to top |
|
 |
nightflyer


Joined: Aug 04, 2005 Posts: 1
|
Post subject: Default text on coppermine page Posted: Thu Aug 04, 2005 11:13 am |
|
Hi
anybody knows how can i delete the default text "Hey Guys Check this out! - You can add hundreds of thousands of copyrighted images to your site – Free!
Join the ..."
on coppermine page ( www.domain.com/index.p...coppermine ) in cpg 9.0.5.0?
Tnx.
nightflyer's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 2.0.54/MySQL/PHP4/cpg9.0.5.0
Last edited by nightflyer on Thu Aug 04, 2005 11:19 am; edited 1 time in total |
|
| Back to top |
|
 |
NEMINI


Joined: Apr 22, 2004 Posts: 4551
|
|
| Back to top |
|
 |
tman69


Joined: Aug 11, 2005 Posts: 4
|
Post subject: Re: Free posters ad on coppermine Posted: Fri Aug 26, 2005 9:07 pm |
|
Okay I have read through every page on in this thread and yes I see everyone says edit the anycontent.php file. Well I need some help please. First what I want to do is simply remove the things like last updated albums, last additions, most viewed, top rated, and random. At least I want to have the ability to remove them. Here is my anycontent.php:
<?php
/***************************************************************************
Coppermine 1.3.1 for CPG-Dragonfly™
**************************************************************************
Port Copyright (c) 2004-2005 CPG Dev Team
dragonflycms.com/
**************************************************************************
v1.1 (c) by Grégory Demar coppermine.sf.net/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
**************************************************************************
Last modification notes:
$Source: /cvs/html/modules/coppermine/anycontent.php,v $
$Revision: 9.1 $
$Author: akamu $
$Date: 2005/06/23 21:46:29 $
****************************************************************************/
if (!defined('CPG_NUKE')) { die("You can't access this file directly..."); }
starttable('100%', 'Main Photos');
?>
I'm new to PHP and DragonflyCMS but I do not see anything there to edit that would remove those items. I also read posts that said edit the config.php under modules/coppermine. Here is my config.php file but I do not see anything that says random, last additions, last updated, or such.
<?php
/***************************************************************************
Coppermine 1.3.1 for CPG-Dragonflyâ„¢
**************************************************************************
Port Copyright (c) 2004-2005 CPG Dev Team
dragonflycms.com/
**************************************************************************
v1.1 (c) by Grégory Demar coppermine.sf.net/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
**************************************************************************
Last modification notes:
$Source: /cvs/html/modules/coppermine/config.php,v $
$Revision: 9.1 $
$Author: akamu $
$Date: 2005/06/23 21:46:29 $
****************************************************************************/
if (!defined('CPG_NUKE')) { die("You can't access this file directly..."); }
// only nuke admins have access
define('CONFIG_PHP', true);
//require($CPG_M_DIR . '/include/load.inc');
require("modules/" . $module_name . "/include/load.inc");
if (!can_admin()) cpg_die(_ERROR, ACCESS_DENIED, __FILE__, __LINE__);
//require($CPG_M_DIR . '/include/sql_parse.inc');
function form_label($text) {
echo <<<EOT
<tr>
<td class="tableh2" colspan="2">
<b>$text</b>
</td>
</tr>
EOT;
}
function form_input($text, $name) {
global $CONFIG;
$value = htmlprepare($CONFIG[$name]);
echo <<<EOT
<tr>
<td width="300" class="tableb">
$text
</td>
<td class="tableb" valign="top">
<input type="text" class="textinput" style="width: 90%" name="$name" value="$value" />
</td>
</tr>
EOT;
}
function form_yes_no($text, $name) {
global $CONFIG;
$value = $CONFIG[$name];
$yes_selected = $value ? 'selected="selected"' : '';
$no_selected = !$value ? 'selected="selected"' : '';
echo '
<tr>
<td class="tableb">
'.$text.'
</td>
<td class="tableb" valign="top">
<select name="'.$name.'" class="listbox">
<option value="1" '.$yes_selected.'>'.YES.'</option>
<option value="0" '.$no_selected.'>'.NO.'</option>
</select>
</td>
</tr>
';
}
function gdVersion() {
if (!extension_loaded('gd')) {
return;
}
ob_start();
phpinfo(8);
$info=ob_get_contents();
ob_end_clean();
$info=stristr($info, 'gd version');
preg_match('/\d/', $info, $gd);
return $gd[0];
} // end function gdVersion()
function form_img_pkg($text, $name) {
global $CONFIG;
$value = $CONFIG[$name];
$im_selected = ($value == 'im') ? 'selected="selected"' : '';
$gd1_selected = $gd2_selected = '';
if ($gdv = gdVersion()) {
if ($gdv >=2) {
$gd2_selected = '<option value="gd2"'.(($value == 'gd2') ? ' selected="selected"' : '').'>GD version 2.x</option>';
} else {
$gd1_selected = '<option value="gd1"'.(($value == 'gd1') ? ' selected="selected"' : '').'>GD version 1.x</option>';
}
}
$netpbm_selected = ($value == 'netpbm') ? 'selected="selected"' : '';
echo <<<EOT
<tr>
<td class="tableb">
$text
</td>
<td class="tableb" valign="top">
<select name="$name" class="listbox">
<option value="im" $im_selected>Image Magick</option>
$gd1_selected
$gd2_selected
<option value="netpbm" $netpbm_selected>netpbm</option>
</select>
</td>
</tr>
EOT;
}
function form_sort_order($text, $name) {
global $CONFIG, $lang_config_php;
$value = $CONFIG[$name];
$ta_selected = ($value == 'ta') ? 'selected="selected"' : '';
$td_selected = ($value == 'td') ? 'selected="selected"' : '';
$na_selected = ($value == 'na') ? 'selected="selected"' : '';
$nd_selected = ($value == 'nd') ? 'selected="selected"' : '';
$da_selected = ($value == 'da') ? 'selected="selected"' : '';
$dd_selected = ($value == 'dd') ? 'selected="selectdd"' : '';
$ra_selected = ($value == 'ra') ? 'selected="selected"' : '';
$rd_selected = ($value == 'rd') ? 'selected="selected"' : '';
echo '
<tr>
<td class="tableb">
'.$text.'
</td>
<td class="tableb" valign="top">
<select name="'.$name.'" class="listbox">
<option value="ta" '.$ta_selected.'>'.TITLE_A.'</option>
<option value="td" '.$td_selected.'>'.TITLE_D.'</option>
<option value="na" '.$na_selected.'>'.NAME_A.'</option>
<option value="nd" '.$nd_selected.'>'.NAME_D.'</option>
<option value="da" '.$da_selected.'>'.DATE_A.'</option>
<option value="dd" '.$dd_selected.'>'.DATE_D.'</option>
<option value="ra" '.$ra_selected.'>'.RATING_A.'</option>
<option value="rd" '.$rd_selected.'>'.RATING_A.'</option>
</select>
</td>
</tr>
';
}
function form_charset($text, $name) {
global $CONFIG;
$charsets = array(
'Default' => 'language file',
'Arabic' => 'iso-8859-6',
'Baltic' => 'iso-8859-4',
'Central European' => 'iso-8859-2',
'Chinese Simplified' => 'euc-cn',
'Chinese Traditional' => 'big5',
'Cyrillic' => 'koi8-r',
'Greek' => 'iso-8859-7',
'Hebrew' => 'iso-8859-8-i',
'Icelandic' => 'x-mac-icelandic',
'Japanese' => 'euc-jp',
'Korean' => 'euc-kr',
'Maltese' => 'iso-8859-3',
'Thai' => 'windows-874 ',
'Turkish' => 'iso-8859-9',
'Unicode' => 'utf-8',
'Vietnamese' => 'windows-1258',
'Western' => 'iso-8859-1'
);
$value = strtolower($CONFIG[$name]);
echo <<<EOT
<tr>
<td class="tableb">
$text
</td>
<td class="tableb" valign="top">
<select name="$name" class="listbox">
EOT;
foreach ($charsets as $country => $charset) {
echo " <option value=\"$charset\" " . ($value == $charset ? 'selected="selected"' : '') . ">$country ($charset)</option>\n";
}
echo <<<EOT
</select>
</td>
</tr>
EOT;
}
function form_theme($text, $name) {
global $CONFIG, $CPG_M_DIR;
//if ($name == "cpgtheme") $value = $CONFIG["theme"];
//else
$value = $CONFIG['theme'];
$theme_dir = $CPG_M_DIR . '/themes/';
$dir = opendir($theme_dir);
while ($file = readdir($dir)) {
if (is_dir($theme_dir . $file) && $file != "." && $file != ".." && $file != "CVS") {
$theme_array[] = $file;
}
}
closedir($dir);
natcasesort($theme_array);
echo <<<EOT
<tr>
<td class="tableb">
$text
</td>
<td class="tableb" valign="top">
<select name="$name" class="listbox">
EOT;
foreach ($theme_array as $theme) {
echo "<option value=\"$theme\" " . ($value == $theme ? 'selected="selected"' : '') . ">" . strtr(ucfirst($theme), '_', ' ') . "</option>\n";
}
echo <<<EOT
</select>
</td>
</tr>
EOT;
}
// Added for allowing user to select which aspect of thumbnails to scale
function form_scale($text, $name) {
global $CONFIG, $lang_config_php ;
$value = $CONFIG[$name];
$any_selected = ($value == 'max') ? 'selected' : '';
$ht_selected = ($value == 'ht') ? 'selected' : '';
$wd_selected = ($value == 'wd') ? 'selected' : '';
// bug fix scott coppermine.sourceforge....php?t=441
$any_name = $lang_config_php['th_any'];
$ht_name = $lang_config_php['th_ht'];
$wd_name = $lang_config_php['th_wd'];
echo <<<EOT
<tr>
<td class="tableb">
$text
</td>
<td class="tableb" valign="top">
<select name="$name" class="listbox">
<option value="any" $any_selected>$any_name</option>
<option value="ht" $ht_selected>$ht_name</option>
<option value="wd" $wd_selected>$wd_name</option>
</select>
</td>
</tr>
EOT;
}
function create_form(&$data) {
global $CPG_M_DIR;
foreach($data as $element) {
if ((is_array($element))) {
switch ($element[2]) {
case 0 :
form_input($element[0], $element[1]);
break;
case 1 :
form_yes_no($element[0], $element[1]);
break;
case 2 :
form_img_pkg($element[0], $element[1]);
break;
case 3 :
form_sort_order($element[0], $element[1]);
break;
case 4 :
form_charset($element[0], $element[1]);
break;
case 5 :
break;
case 6 :
form_theme($element[0], $element[1]);
break;
// Thumbnail scaling
case 7 :
form_scale($element[0], $element[1]);
break;
// Add triple dropdown later - put back in for compatibility reasons
case 8 :
// do nothing
break;
default:
die('Invalid action');
} // switch
} else {
form_label($element);
}
}
}
if (count($_POST) > 0) {
$msg = UPD_SUCCESS;
$redirect = getlink();
if (isset($_POST['update_config'])) {
$need_to_be_positive = array(
'albums_per_page',
'albums_per_page',
'album_list_cols',
'max_tabs',
'picture_width',
'thumb_width',
'thumbcols',
'thumbrows',
// Show filmstrip
'max_film_strip_items'
);
foreach ($need_to_be_positive as $parameter)
$_POST[$parameter] = max(1, intval($_POST[$parameter]));
$_POST['subcat_level'] = max(0, intval($_POST['subcat_level']));
foreach($lang_config_data as $element) {
if ((is_array($element))) {
if ((!isset($_POST[$element[1]]))) {
cpg_die(_CRITICAL_ERROR, sprintf(_ERROR_NOT_SET, $element[1]), __FILE__, __LINE__);
}
$value = Fix_Quotes($_POST[$element[1]]);
$db->sql_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value='$value' WHERE name='{$element[1]}'",false,__FILE__, __LINE__);
}
}
} elseif (isset($_POST['restore_config'])) {
require_once('includes/classes/sqlctrl.php');
if (!SQLCtrl::query_file('includes/coppermine/restore_cfg.gz', $error, array('cms_cpg_'=>$cpg_prefix))) {
cpg_error($error);
}
$msg = RESTORE_SUCCESS;
$redirect = getlink('&file=config');
}
url_refresh($redirect);
pageheader(CONFIG_TITLE,$redirect);
msg_box(INFO, $msg, CONTINU, getlink());
pagefooter();
}
pageheader(CONFIG_TITLE);
$signature = 'Coppermine Photo Gallery ' . $CPG_VERSION;
starttable('100%', CONFIG_TITLE." - $signature", 2);
echo '
<form action="'.getlink('&file=config').'" method="post" enctype="multipart/form-data" accept-charset="utf-8">
';
create_form($lang_config_data);
echo '
<tr>
<td colspan="2" align="center" class="tablef">
<input type="submit" class="button" name="update_config" value="'.SAVE_CFG.'" />
<input type="submit" class="button" name="restore_config" value="'.RESTORE_CFG.'" />
</td>
</form>
</tr>
';
endtable();
pagefooter();
?>
Can anyone tell me where to edit so I can remove these groupings?
tman69's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) ? |
|
| Back to top |
|
 |
run0


Joined: Jun 28, 2004 Posts: 1559
|
Post subject: Re: Free posters ad on coppermine Posted: Fri Aug 26, 2005 9:20 pm |
|
not in the file, in yoursite/admin.php?op=coppermine
find breadcrumb/catlist/alblist/lastalb,1/lastup,1/lastcom,1/topn,1/toprated,1/random,1/favpics,3/anycontent
remove the ones you dont want to show
run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x |
|
| Back to top |
|
 |
Sekki


Joined: Jun 18, 2005 Posts: 51 Location: Novi pazar
|
Post subject: Re: Free posters ad on coppermine Posted: Fri Aug 26, 2005 11:00 pm |
|
del modules/coppermine/anycontent.php
and Open modules/coppermine/index.php
and find line anycontent.php del te line and save ....
Sekki's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / MySQL Version 4.0.27-standard / PHP Version 4.4.2 / CMS Version 9.0.6.1 |
|
| Back to top |
|
 |
Śyama_Dāsa


Joined: Apr 19, 2004 Posts: 2049 Location: Dragonfly CMS Tribe
|
Post subject: Re: Free posters ad on coppermine Posted: Fri Aug 26, 2005 11:35 pm |
|
THERE IS NO NEED TO DO THAT SEKKI
You can remove it from the page display via config (content of the main page)
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0) |
|
| Back to top |
|
 |
DecK


Joined: Dec 06, 2006 Posts: 6
|
Post subject: Coppermine Posted: Wed Dec 06, 2006 8:26 am |
|
hi all .. i wants to ask how i can remove the advertisment in the coppermine gallery ?? it show bob marley poster
Quote:
Hey Guys Check this out! - You can add hundreds of thousands of copyrighted images to your site – Free!
Join the AllPosters.com Affiliates Program and get access to hundreds of thousands of images for your site. AllPosters.com has images from popular movies, music groups, sports teams, fine art, and much more. Adding these images to your site will enhance your content.
Furthermore, you get paid for improving your site with poster/print images! All of the images you use can link to AllPosters.com where your site visitors can make purchases. When they buy something, AllPosters.com pays you 25% - 30% of the sale. If the visitor decides to purchase within 10 days of their last visit from your website, you'll still earn commission on the sale! It’s easy to sign-up, build links, and track your sales.
anyone know how to remove it ?? thanx
DecK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 9.0 |
|
| Back to top |
|
 |
sarah


Joined: Mar 25, 2005 Posts: 2131
|
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|