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

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 91
106
FYI:

I have reposted version 2.0 of this mod. -  Enjoy !

107
 :?

Code: [Select]
<table>
    <tr>
      <td>{categories}</td>
    </tr>
    <tr>
      <td>{categories}</td>
    </tr>
</table>

108
I don't know exactly where you plan to take this idea and I don't know how secure it should be or what you plan, if anything, to do with sessions but there is another way to do this.

Create a new custom template:FAQ: How can I add a new, custom template like FAQ.html?

Then you can used
Code: [Select]
{if user_loggedin}
<a href="link to member only service">
{endif user_loggedin}
inside your new template.  Only logged in members will see the link. 


[TIP] Make something visible/hidden for guests, users, admin

109
No there isn't and I had actually completely rewritten this mod and published version 2.0 before the hacker deleted it.  Version 2.0 is way better than the original mod here.  It lets you select multiple keywords to search.

I simply haven't had time to restore that lost mod.  I will try to do it this weekend.

Here is a sneak peak at what the mod does:

110
Discussion & Troubleshooting / Re: Upgrade to 1.7.1 problem
« on: May 07, 2005, 05:31:27 PM »
Thank you for coming back and telling us it worked out.

111
There is already a mod in the published mods forum that does this.  :wink:

112
Sorry but you would have to show me what you've done with top.php.  Rather than pasting it in a forum post, attach it instead using the "Additional Options".

In the future, please surround your code in a forum post with the forum bbcode for CODE.  It makes it much easier to read.  Like this:
Quote
[ code ] Without any spaces between "[" and "]"  [ /code ]

It's the # button, 2nd row 3rd from the right when replying to topics

113
The problem is you've implemented two mods.  One for the "not registered" message and one that adds thumbnails to the Top List.  And you've also changed it to show a top 20 instead of the top 10 across 4 categories: by downloads, by hits, by votes, by rating.

You need to apply the same thumbnail link logic from the first mod inside includes/functions.php to the thumbnail links that are generated from inside top.php

114
Mods & Plugins (Requests & Discussions) / Re: Sitemap
« on: May 06, 2005, 03:15:37 PM »
Nope.  It's also difficult to take into account any custom template pages you may create that aren't part of 4images

FAQ: How can I add a new, custom template like FAQ.html?

115
You must edit all the 'main' templates.  They are the ones that contain:
Code: [Select]
{header}
some HTML
{footer}

116
Installation, Update & Configuration / Re: upgrade 1.7 to 1.71?
« on: May 06, 2005, 02:55:30 PM »
yes

117
Discussion & Troubleshooting / Re: Mailform
« on: May 06, 2005, 01:33:21 AM »
It's not strange at all.  You can't use any tag with any template.  You must register those tags for use with that template.

Open member.php and locate:
Code: [Select]
      $site_template->register_vars(array(
        "user_id" => $user_row['user_id'],
        "user_name" => htmlspecialchars($user_row['user_name']),
        "subject" => htmlspecialchars($subject),
        "message" => htmlspecialchars($message),
        "lang_send_email_to" => $lang['send_email_to'],
        "lang_subject" => $lang['subject'],
        "lang_message" => $lang['message'],
        "lang_submit" => $lang['submit'],
        "lang_reset" => $lang['reset']
      ));
      $content = $site_template->parse_template("member_mailform");

Change this to:
Code: [Select]
      $site_template->register_vars(array(
        "user_id" => $user_row['user_id'],
        "user_name" => htmlspecialchars($user_row['user_name']),
        "subject" => htmlspecialchars($subject),
        "message" => htmlspecialchars($message),
        "lang_send_email_to" => $lang['send_email_to'],
        "lang_subject" => $lang['subject'],
        "lang_message" => $lang['message'],
        "lang_submit" => $lang['submit'],
        "lang_lost_password" => $lang['lost_password'],  // Added "lost_password" to the member_mailform template
        "lang_reset" => $lang['reset']
      ));
      $content = $site_template->parse_template("member_mailform");

118
Installation, Update & Configuration / Re: Looking like my site
« on: May 06, 2005, 01:18:37 AM »
Sorry but you're on your own here.  HTML/CSS editing is a basic requirement of putting any web site together.

Always check the FAQ forum here.  There is a topic titled How is the default "style.css" stylesheet used? that exactly shows how CSS controls the colors, etc

Best wishes

119
Feedback & Suggestions / Re: Version 1.7 von 4images
« on: May 05, 2005, 07:08:49 PM »
It is a violation of the 4images license agreement to redistribute 4images in any form:
http://www.4homepages.de/4images/licence.php

[locked and edited]

120
Norton Internet Security is another and any other software or browser setting that disables sending referer information

Pages: 1 ... 4 5 6 7 [8] 9 10 11 12 ... 91