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 - shan

Pages: [1]
1
Hey does anyone know how we can implement a page where my forum users can upload their images and it will automatically go into 4images gallery? I have an idea of how it should work but i dont have php knowledge:( i think i have to modify the uploadform so that it points to my 4images gallery..im not sure, is there anyone who can help please?

2
but in admin cpanel i can't see the user id i only see the usernames...anywhere else to luk for it?:(

3
Mods & Plugins (Requests & Discussions) / User request page
« on: March 06, 2007, 05:21:06 AM »
Hey does anyone have a MOD for user request page. Like if lets say if the users need a specific thing, is there a way to code so they can request in a page and that will be visible to all but only registered members ofcourse:)

4
Gey trez im stil getting the same error:S heres my code:

if (defined('ADMIN_SAFE_LOGIN') && ADMIN_SAFE_LOGIN == 1) {
  if ($user_info['user_level'] != GUEST && $user_info['user_level'] == ADMIN && isset($HTTP_POST_VARS['loginusername'])) {
    setcookie("adminon", 1, 0, '/');
    $HTTP_COOKIE_VARS['adminon'] = 1;
  }
  else {
    if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER || $user_info['user_level'] == USER_AWAITING) {
      $HTTP_COOKIE_VARS['moderatoron'] = 0;
    }
  }

  if (!isset($HTTP_COOKIE_VARS['moderatoron']) || $HTTP_COOKIE_VARS['moderatoron'] == 0) {
    $user_info['user_level'] = GUEST;
  }
  else {
    if ($user_info['user_id'] != dj shan && $user_info['user_level'] == USER && isset($HTTP_POST_VARS['loginusername'])) {
      setcookie("moderatoron", 1, 0, '/');
      $HTTP_COOKIE_VARS['moderatoron'] = 1;
    }
  }
}

if (isset($HTTP_POST_VARS['goback']) || isset($HTTP_GET_VARS['goback'])) {
  $back_url = $site_sess->get_session_var('back_url');
   
   if (!empty($back_url)) {
     $site_sess->drop_session_var('back_url');
      redirect($back_url);
      exit;
   }
}

5
Discussion & Troubleshooting / how to change file type images?
« on: March 05, 2007, 06:25:00 PM »
Anyone know how to change the file type image so that when i upload that type, it will display the image associate with that type? please

6
Hey guys im getting this parse error..why?:S


Parse error: syntax error, unexpected T_STRING in /home/desisub/public_html/subs/moderator/admin_global.php on line 121

7
Discussion & Troubleshooting / Word filtering on upload
« on: March 04, 2007, 07:04:17 PM »
Hi, Jan or anyone..is there a mod or plugin that will allow the script to scan the filename while uploading. Scan for banned names or website url or it can verify the list of banned names then decline upload if the filename contains banned names else continue upload. You know what i mean, something similar to what some torrent sites do, they verify the folder if it contains a txt file with their site address in it.

8
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: March 04, 2007, 07:01:15 PM »
Hey, how can we change the max size to 100x100?

9
Discussion & Troubleshooting / Custom icon?
« on: March 03, 2007, 01:54:40 PM »
Hey guys, i recently modified 4images and added a new extension to the list. Now when i upload a file with that extension, theres no image to display it. How can i tell 4images to show " custom icon" that i made specifically for that extension whenever a user uploads? Just like it would do with Jpeg or any other extension. I know this is probably the most easiest but im fairly new at this:(, please someone help...

10
Discussion & Troubleshooting / Re: 2 easy questions about 4images
« on: March 02, 2007, 04:42:35 PM »
Open lang/main.php --> in there you edit the variable declarations. I recently did the same thing and works fine:) hope it helps.

11
Discussion & Troubleshooting / Re: Help! how do i change the Text names?
« on: February 20, 2007, 02:04:14 PM »
awsommm thanks alot mate, appreciate it :wink:

Hey, what if i want the script to recongize a new type of file extension which is not included with the script. Such as .Srt files? it gives me an error when i manually put in the setting area (Cpanel). Any solution to this? pleassee:)

12
Discussion & Troubleshooting / Help! how do i change the Text names?
« on: February 20, 2007, 05:21:33 AM »
Hi folks, sorry i am really new to Php and having trouble. By default 4images set names such as "Categories, New images, etc.." how can i change those? instead of running it as an image site, i want to modify to something else such as file site or something. So i want to change those names to suit my site theme. Please can anyone help:P, it be great! thanks.

Pages: [1]
Post your comments here