Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 186
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 196
Total: 196

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Raji

Pages: [1]
1
Latest Mods / SMF Links is not supporting UNICODE
« on: November 04, 2010, 11:17:18 pm »
Hello there,

I have just installed SMF LINK on SMF 2.0 RC4 without any issue but when I m trying to add link with Arabic script its showing ????????? instead of orignal script.

Please help me out to resolve this issue.

Thanks in advance
Looking forward
Baloch

2
SMF Gallery Lite / Re: Random Image in Block?
« on: March 08, 2009, 11:52:44 am »
This code worked for me :)

Quote
global $scripturl,$db_prefix,$modSettings,$boardurl;

echo'<table cellspacing="0" cellpadding="0" border="0"  width="90%"><tr>';
if(empty($modSettings['gallery_url']))
{
$modSettings['gallery_url'] = $boardurl . '/gallery/';
}
$request = db_query("SELECT thumbfilename, ID_CAT, ID_PICTURE FROM {$db_prefix}gallery_pic WHERE ID_CAT = '1' GROUP BY thumbfilename ORDER BY RAND() LIMIT 7", __FILE__, __LINE__);
   
$row = mysql_fetch_assoc($request);
while ($row = mysql_fetch_assoc($request))
echo' <td align="center" colspan="3"><a href="', $scripturl, '?action=gallery;sa=view;id=',
$row['ID_PICTURE'], '"><img src="', $modSettings['gallery_url'] .

$row['thumbfilename'] ,'" /></a>';
echo'</td></tr>';
echo'</table></br>';
mysql_free_result($request);

www.baask.com/diwwan

3
SMF Gallery Lite / Re: Random Image in Block?
« on: March 08, 2009, 11:16:22 am »
Plz advice how can i display 5  random images in horizontal order instead of vertical order?
I am using following code in php block of AD management and its working okay.

global $scripturl,$db_prefix,$modSettings,$boardurl;
  if(empty($modSettings['gallery_url']))
  {
    $modSettings['gallery_url'] = $boardurl . '/gallery/';
  }
   
  $request = db_query("SELECT thumbfilename,ID_PICTURE
                                FROM {$db_prefix}gallery_pic
                                ORDER BY RAND() LIMIT 5", __FILE__, __LINE__);

  while ($row = mysql_fetch_assoc($request))
  {
    echo' <center><a href="', $scripturl, '?action=gallery;sa=view;id=', $row['ID_PICTURE'], '"><img src="',  $modSettings['gallery_url'] . $row['thumbfilename'] ,'" /></a></center>';
  }
  mysql_free_result($request);

4
Yes you are right. Now gallery is woking okay.

Thanks for your answer.


5
For further testing of this bug I hv installed smf 1.1.7 directly through fantastico within test folder. Then installed SMF GALLERY LITE.

Picture uploading is okay but picture VIEW is showing "source not found" error message.

http://baask.com/diwwan/index.php?action=gallery;cat=1

6
Hi there,

My forum www.baask.com/diwan was working okay with Gallary Lite mode, smf shout mode, Ad management mode and SMF Blog mod. Now nothing is working okay after upgrading from smf version 1.1.6 to 1.1.7

Tumbnail of Photos are  visible but when I click to view full size of picture its showing "Source cannot be displayed"

Please advice how to fix this issue.


Thanks in advance for your support

Regards

Raji Baloch



7
SMF Gallery Lite / Photos missing
« on: October 03, 2008, 11:51:38 pm »
Hi there,

I have approved members photos two days back and photos were there in photo gallery album but today when I have rechecked some photos after getting complain from members the photos were missing.
Photos r physically missing from smf/gallery folder. I am surprised that nobody has right to delete any picture except for me but I did not deleted any single image.

Please help me out to restore missing images.

thanks in advance

with regards
Raji
 

8
SMF Gallery Lite / Re: Not a valid picture file
« on: July 04, 2008, 01:33:17 am »
Thanks for your respnose. Well problem has been resolved without doing anything.

9
SMF Gallery Lite / Not a valid picture file
« on: July 01, 2008, 11:02:32 am »
Hi there,

I am using this mod since last year and everything was running okay.
but since morning my all members are complaining about picture adding option.
I as an admin tried to upload an image file (.gif and .jpeg) but its showing "NOT A VALID Picture file" error.

Here is the Version Information:

Forum version: SMF 1.1.5 (more detailed)
Current SMF version: SMF 1.1.5
PHP version: 4.3.11
MySQL version: 4.1.20-max-log
Server version: Apache
GD version: bundled (2.0.28 compatible)


Please advice what could be the reason and how to fix it.

Best Regards
Raji

10
SMF Gallery Lite / Re: Random Image in Block?
« on: November 23, 2007, 04:33:43 am »
oh that code won't work since SSI requires that it be loaded before all php


You would need to replace ssi_galleryrandom(); in your index.template.ph with something like
Code: [Select]
global $scripturl,$db_prefix,$modSettings,$boardurl;

  if(empty($modSettings['gallery_url']))
  {
    $modSettings['gallery_url'] = $boardurl . '/gallery/';
  }
 
  $request = db_query("SELECT thumbfilename,ID_PICTURE,filename FROM

{$db_prefix}gallery_pic GROUP BY thumbfilename ORDER BY RAND() LIMIT 1", __FILE__,

__LINE__);
  $row = mysql_fetch_assoc($request);
  mysql_free_result($request);
  echo' <center><a href="', $scripturl, '?action=gallery;sa=view;id=',

$row['ID_PICTURE'], '"><img src="',  $modSettings['gallery_url'] .

$row['thumbfilename'] ,'" /></a></center>'

;
?><script language="javascript" type="text/javascript">
<!--
function linkingcodes() {
  newwindow2=window.open('','name','height=250,width=800,scrollbars=yes');
  var tmp = newwindow2.document;
  tmp.write('<html><head><title>Linking codes</title>');
  tmp.write('');
  tmp.write('</head><body bgcolor="#FFFFFF"><center><font color="#000000" size="1" face="verdana">');
  tmp.write('HTML For Websites:</br><form><textarea rows="2" cols="90">&lt;a href="<?echo $modSettings['gallery_url'].$row['filename']; ?>"&gt;&lt;img src="<?echo $modSettings['gallery_url'].$row['thumbfilename'];?>"&gt;&lt;/a&gt;</textarea></form> ');
  tmp.write('</br></br>BBC For Forums</br><form><textarea rows="2" cols="90">[url=<?echo $modSettings['gallery_url'].$row['filename']; ?>][img]<?echo $modSettings['gallery_url'].$row['thumbfilename'];?>[/img][/url]</textarea></form>');
  tmp.write('</font></center></body></html>');
  tmp.close();
}
// -->
</script><center><form>
</br><input type="button" onClick="return linkingcodes()" value="Linking codes!">
</form></center>
<?


I have added this mod before
function template_main_below()

but its showing fetal errror :( I need your help to fix this problem.

Thanks in advance for your support.

Regards
Raji


Pages: [1]

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal