hummmm.....Hate to ask but removing that goes beyond what I know how to donickvergessen wrote:user_id 54
tplowe wrote:Is there a way to eliminate the text displayed below the thumbnails in a gallery to just the "file.name". Or even display nothing?
If this is not an option what page would I edit in php. Would it be possible to comment out the code that dsplays the text.
I have searched this thread. Either this question has not been asked or search seems to not be working.
Thanks.
Code: Select all
<!-- INCLUDE overall_header.html -->
<script type="text/javascript">
<!--
function checkRateForm() {
if (document.rateform.rate.value == -1)
{
return false;
}
else
{
return true;
}
}
// -->
</script>
<h2><a href="{S_ALBUM_ACTION}">{IMAGE_NAME}</a></h2>
<p class="{S_CONTENT_FLOW_END} rightside"><!-- IF U_NEXT --><a href="{U_NEXT}">{L_NEXT}</a><!-- ENDIF --></p>
<p><!-- IF U_PREVIOUS --><a href="{U_PREVIOUS}">{L_PREVIOUS}</a><!-- ENDIF --> </p>
<div class="post bg2">
<div class="inner">
<span class="corners-top"><span></span></span>
<div style="text-align: center; padding: 20px;">{UC_IMAGE}</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<p></p><p><a href="{U_RETURN_LINK}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {S_RETURN_LINK}</a></p>
<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.album_id.value == -1){return false;}">
<fieldset class="jumpbox">
<label for="album_id" accesskey="album_id">{L_JUMP_TO}:</label>
<select name="album_id" id="album_id" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }">
{ALBUM_JUMPBOX}
</select>
<input type="submit" value="{L_GO}" class="button2" />
</fieldset>
</form>
<!-- Please keep this little notice visible -->
<div class="copyright">Powered by <!-- port started by tsr: http://phpbbgallery.ph.funpic.de --><a href="http://www.flying-bits.org/">nickvergessen</a></div>
<!-- INCLUDE overall_footer.html -->
Try thisDragonMaster1 wrote:hummmm.....Hate to ask but removing that goes beyond what I know how to donickvergessen wrote:user_id 54
I don’t see how to drop that one by itself
I have:
Rows user_id
1 1
1 54
1 56
1 61
1 70
1 78
1 100
1 278
-------------------
Is there an SQL to use to remove that or if not can you tell me how to do it?
Code: Select all
DELETE FROM `phpbb_gallery_users` WHERE `phpbb_gallery_users`.`user_id` = 54 LIMIT 1;
Code: Select all
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);$display = array(
'name' => true,
'poster' => true,
'time' => true,
'views' => true,
'ratings' => false,
'comments' => false,
'album' => true,
Code: Select all
/**
* rows numeric default 1,
* columns numeric default 4,
* display array,
* modes string(random|recent|both),
*/
recent_gallery_images(1, 4, $display, 'recent');
Code: Select all
<div class="panel bg2">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="column1">
<h3>{L_CONTACT_USER} {USERNAME}</h3>
Code: Select all
<!-- INCLUDE gallery_recent_body.html -->
Code: Select all
DELETE FROM `phpbb_gallery_users` WHERE `phpbb_gallery_users`.`user_id` = 54 LIMIT 1;
Code: Select all
General Error
SQL ERROR [ mysql4 ]
Duplicate entry '54' for key 1 [1062]
SQL
INSERT INTO phpbb_gallery_users (user_id, user_images) VALUES (54, 0)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/acp/acp_gallery.php
LINE: 396
CALL: dbal_mysql->sql_query()
FILE: includes/acp/acp_gallery.php
LINE: 90
CALL: acp_gallery->import()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_gallery->main()
FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
Code: Select all
180 if (!$user->data['is_registered'])
181 {
182 login_box($image_loginlink , $user->lang['LOGIN_INFO']);
183 }
184 else
185 {
186 meta_refresh(3, $image_backlink);
187 trigger_error('NOT_AUTHORISED');
188 }
189 }
190 break;