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

Pages: [1] 2 3
1
Mods & Plugins (Requests & Discussions) / Re: Splash page
« on: June 04, 2010, 05:42:22 PM »
Anyone knows where to put the javascript code to display this? Please advise.

Thank you

2
Mods & Plugins (Requests & Discussions) / Splash page
« on: May 22, 2010, 03:08:27 AM »
Hello!

I am using 4images on an adult-related website. I would like to display (once to every user) a splash notice saying this website contains adult material, etc. Can anyone advise me how to do it? I have an example website. I can PM it to anyone willing to help.

Thank you!

3
Mods & Plugins (Requests & Discussions) / Re: User permissions
« on: May 19, 2010, 05:21:21 PM »
Wow..I can't believe I was so blind! Thank you! :)

4
Mods & Plugins (Requests & Discussions) / User permissions
« on: May 19, 2010, 04:29:46 PM »
Hi,

I want to create a category where only a SPECIFIC user group is allowed to enter and view media inside. Can I do this? Is there a mod? I searched but didn't find anything similar to what I need. Please advise.

Thank you!

5
Feedback & Suggestions / Re: Top 10 Most Commented Images
« on: April 27, 2010, 12:31:44 PM »
Is such mod available? To display top commented images?

Thanks!

6
I am using the default_full template and I would like to have it in full screen. Currently there is some free space at the top, right and left. Can anyone advise?

Thanks!

7
Mods & Plugins (Requests & Discussions) / Re: Little request
« on: April 19, 2010, 12:55:01 AM »
Dear V@no,

I want to turn this version:

Code: [Select]
        $sql = "SELECT SUM(image_hits) AS sum
          FROM ".IMAGES_TABLE;
  $row = $site_db->query_firstrow($sql);

  $sum = (isset($row['sum'])) ? $row['sum'] : 0;
$total_hits = "".$lang['total_hits']."<B> ".number_format($row['sum'])."</B>\n";

  $site_template->register_vars("total_hits", $total_hits);
unset($total_hits);
into this version:

Code: [Select]
    $sql = "SELECT COUNT(*) as all_total_users
          FROM ".USERS_TABLE."
                  WHERE user_id <> ".GUEST;
  $row = $site_db->query_firstrow($sql);
  $all_total_users = $row['all_total_users'];
  $lang_all_total_users = $lang['all_total_users'];

  $site_template->register_vars("all_total_users", number_format($all_total_users));
  $site_template->register_vars("lang_all_total_users", $lang_all_total_users);
  unset($all_total_users);
  unset($lang_all_total_users);
.

You understand now? If not I will try to explain better. Basically I am using 2 versions of stats, collected from different threads but both do the same thing.

8
Mods & Plugins (Requests & Discussions) / Re: Little request
« on: April 16, 2010, 09:45:55 PM »
Hi V@no!

I am writing again because you probably didn't notice that I updated my previous post. Can you help in regards to that?

Thank you!

9
Hello,

I am using the default_full template. How can I make it full screen? Currently I have some free space in the top, left and right side. Can anyone advise? All template files are set to width 100%. Thank you!

10
Mods & Plugins (Requests & Discussions) / Re: Little request
« on: April 15, 2010, 02:40:48 PM »
Thank you very much! Works wonders! :)

Have a great day!

I have like 2-3 versions of different stats (total hits, total members, etc). Could you advise me how to change this code:
Code: [Select]
       $sql = "SELECT SUM(image_hits) AS sum
          FROM ".IMAGES_TABLE;
  $row = $site_db->query_firstrow($sql);

  $sum = (isset($row['sum'])) ? $row['sum'] : 0;
$total_hits = "".$lang['total_hits']."<B> ".number_format($row['sum'])."</B>\n";

  $site_template->register_vars("total_hits", $total_hits);
unset($total_hits);
into a more friendly one like:

Code: [Select]
   $sql = "SELECT COUNT(*) as all_total_users
          FROM ".USERS_TABLE."
                  WHERE user_id <> ".GUEST;
  $row = $site_db->query_firstrow($sql);
  $all_total_users = $row['all_total_users'];
  $lang_all_total_users = $lang['all_total_users'];

  $site_template->register_vars("all_total_users", number_format($all_total_users));
  $site_template->register_vars("lang_all_total_users", $lang_all_total_users);
  unset($all_total_users);
  unset($lang_all_total_users);

As you see, total hits is very different than total users. I want to have all stats code the same way. I like order. Hope you understand.

Thank you very much for your time!

11
Mods & Plugins (Requests & Discussions) / Re: Little request
« on: April 15, 2010, 11:32:48 AM »
Hi V@no!

Can you help me with this issue for another "version" of stats?

Code: [Select]
    $sql = "SELECT COUNT(*) as all_total_users
          FROM ".USERS_TABLE."
                  WHERE user_id <> ".GUEST;
  $row = $site_db->query_firstrow($sql);
  $all_total_users = $row['all_total_users'];
  $lang_all_total_users = $lang['all_total_users'];

  $site_template->register_vars("all_total_users", $all_total_users);
  $site_template->register_vars("lang_all_total_users", $lang_all_total_users);
  unset($all_total_users);
  unset($lang_all_total_users);
I want the , in this code again. I tried to modify it but I always get a Parse error. Please help.

Thank you!

12
Another not "supported" mod... :( How can we allow only ONE vote /registered user /poll? It's sad that no one is interested in making mods up-to-date and translate them.

13
Mods & Plugins (Releases & Support) / Re: [MOD] Search Statistics v1.2
« on: April 09, 2010, 04:02:35 AM »
In step 1.3 this code:

Code: [Select]
"search_keywords" => htmlspecialchars(stripslashes($org_search_keywords)),does not exist in search.php, instead THIS exists in search.php:
   
Code: [Select]
"search_keywords" => format_text(stripslashes($org_search_keywords), 2),is it the same? Should I add it after that?

Thanks!

14
Mods & Plugins (Releases & Support) / Re: [MOD] Search Statistics v1.2
« on: April 09, 2010, 03:47:48 AM »
Hi V@no.

In v1.7.6 search for:
    if ($split_words[$i] == "and" || $split_words[$i] == "und" || $split_words[$i] == "or" || $split_words[$i] == "oder" || $split_words[$i] == "not") {
      
$search_word_cache[$i] = ($search_terms) ? "and" $split_words[$i];
    }
    else {

Does this mod work with the latest version of 4images? I tried to install it but I can't find the code in step 1.2. I know you posted a fix for version 1.7.6. Does this also apply for 1.7.7? Please advise.

Thank you.

15
Mods & Plugins (Releases & Support) / Re: [Mod] bbcode Smileys
« on: April 07, 2010, 01:35:53 PM »
Hello Joss

I have found a better solution:

index.php
Search:

Code: [Select]
"comment_text" => format_text($text, $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments'], 1, 0),$config['bb_comments'] should be "1" in settings [ACP -> Settings -> Allow BB-Code in comments = YES]
Rembrandt, I do not understand what to do with this line. I searched for comment_text in index.php but can't find this line. I apologize if I sound like a noob. I have *some* experience but I really can't understand what to do with this code. Please advise.

Thank you.

Pages: [1] 2 3