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

Pages: 1 [2]
16
Mods & Plugins (Releases & Support) / Re: [Mod] Latest News and Archive
« on: September 12, 2005, 10:18:39 PM »
Great MOD - Thank you!

i have a quick question. I created the archives.html file as suggested but I cannot get to it - the news archive link simply reloads index.php I saw a user had a similar problem - he posted all of his code - 8O.

This is what I set my index.php variables to:

Code: [Select]
$display_by_count = "1";
$latest_news_days = "31";
$show_news_articles = "1";
$show_news_articles_archive = "10";

I have two news items (as of now) - one shows up on the home page as expected by the show_news_articles but I cannot get to the archive... When I do click the archive link though both news items appear on the page - wrong template though...

Any advice would be appreciated.

17
Mods & Plugins (Releases & Support) / Re: [Mod] Image Annotation (Watermark)
« on: September 12, 2005, 07:33:15 PM »
I've gone throught the whole thread and can't seem to find my issue.

I went thorugh the installation process and followed all instructions verbatim.

I am on Unix (php 4.39 and GD 2.028 - GD has png and jpg support enabled) and I want to annotate my images with the .png file.

In my annotation settings I have selected image as the mode and set the full path to my .png image "/home/userName/public_html/photos/image.png"

When I run the batch process I get no errors (Annotating between image ID 1070 and 1071: Finished!) But when I check the images there is not change.

When I do a direct upload I also get no change in my images. Auto Thumbnail is set to ON.

Any ideas what's going on?

Thanks in advance
 




18
Templates & Styles (Requests & Discussions) / Re: Testing templates
« on: September 09, 2005, 01:25:46 AM »
Please disregard - I got it to work - it was exactly what I needed...

Much appreciated  :D

19
Templates & Styles (Requests & Discussions) / Re: Testing templates
« on: September 09, 2005, 01:07:00 AM »
I've tried the mod and what you suggested a couple of times but keep getting an error.

You basically want me to add the second set of code below the first one, right?

so, find
Code: [Select]
define('TEMPLATE_PATH', ROOT_PATH.TEMPLATE_DIR."/".$user_template);and below it add
Code: [Select]
if ($user_info['user_level'] >= ADMIN && isset($_GET['tpl']) && !empty($_GET['tpl']) && @is_dir(ROOT_PATH.TEMPLATE_DIR."/".$_GET['tpl']))
{
  $user_template = $_GET['tpl'];
}

20
Mods & Plugins (Releases & Support) / Re: [Mod] Star Rating
« on: September 05, 2005, 10:25:09 PM »
Parse error: parse error, unexpected T_STRING in /www/htdocs/v032550/4u/dev/4images/includes/functions.php on line 195


^^ dieser fehler kommt bei mir nach der installation des "star rating"-mods. was kann ich tun???


in line 195 steht folgendes:

Code: [Select]
if ($image_row['image_rating'] == '5.00') {

Sorry - don't speak German, but I think you were getting the same error I was. I checked the code after I copied and made sure there were no "strange invisible characters" between the lines.

Basically cleaned it up and re-pasted it into functions.php. Now it works.

21
A mi tambien me gustaria ver un demo...

22
Figured it out...

Realized I had to define the smarty variable in search.php...

Code: [Select]
    "lang_search_by_keyword2" => $lang['search_by_keyword2'],

23
I wanted to split up a language variable so I edited main.php as follows:

changed:

Code: [Select]
$lang['search_by_keyword'] = "Search by Keyword:<br /><span class=\"smalltext\">Use terms such as AND, OR and NOT to control your search in more detail. Use asterisks (*) as a wildcard for partial matches.</span>";

to:

Code: [Select]
$lang['search_by_keyword'] = "By Keyword:";
$lang['search_by_keyword2'] = "Use terms such as AND, OR and NOT to control your search in more detail. Use asterisks (*) as a wildcard for partial matches.";

When I call the new variable in my html template using {lang_search_by_keyword2} nothing shows up...

Do I have to change something else - somewhere else?

Thanks in advance.

24
Mods & Plugins (Releases & Support) / Re: [MOD] Members Templates Select
« on: August 27, 2005, 05:03:52 PM »
Went through all the directions a couple of times and I continue to get this error when runing user_template_install.php:

Parse error: parse error, unexpected '{' in /home/anvil/public_html/anvil/gallery/lang/english/main.php on line 391

If I remove the "{" I get this...
Parse error: parse error, unexpected T_STRING in /home/anvil/public_html/anvil/gallery/lang/english/main.php on line 392

Any help woulr be appreciated.

25
Templates & Styles (Requests & Discussions) / Re: Testing templates
« on: May 28, 2005, 11:54:00 PM »
Thank you :)

26
Templates & Styles (Requests & Discussions) / Testing templates
« on: May 28, 2005, 05:26:15 AM »
Please forgive me if this has been posted elsewhere, but I cannot find it...

I have created a new template group but I want to test it before I make it live. Is there a way for me to preview the template without having to select it in the settings menu of the admin area?

I tried "index.php?template_dir=NewTemp - but that did not work.

Thanks in advance for any informaton

Pages: 1 [2]