i solved it koos, done it myself with your latest version smile

@Koos
Well i love it from v1.1.1 that when you call uploadimg_view.php it shows directly the files. The other versions do not do that.

like v1.1.1, Thats all i want smile

I want only the view option like your older version (uploadimg_view.php), but with delete. Don't know how to modify this Koos. So if you can do it 4 me smile

i already use a older version, so users can list there own uploaded pictures, works fine. Only one thing, they cannot delete. Is it simpel to solve that?

http://www.shiftzone.com

@Koos
Is it possible to just have a simpel list of all the pictures with the code (text only).

bingiman wrote:

This is one of the easiest mods to install. I have installed it over and over and it always works right the first time.

Nope i see that different... but its a great mod.

nice job, i try to install it but its a pain in the #&*$&*# to install.  Stopped halfway, i wait for a easier version smile

Looks good i must say, but i like simpel things. So i allways try to use the things that are already there. 4 example, pun portal. If somebody can figure out how the filter one user and show it, you have the same thing, only easier..

hehe i know but i think it can be done in a easier way.... i think.. wink so i just ask the smart people smile

Can it be done Tubby?  so it only retrieve the last post from one specific user?:

<?
$result = $db->query('SELECT f.id, t.subject, t.id, t.forum_id, t.last_post FROM '.$db_prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id WHERE t.forum_id='.$forumid1.' ORDER BY t.last_post DESC LIMIT '. $topicdisplay) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
while($cur_topic = $db->fetch_assoc($result))
{
    
?>

i still using your first version.

Great mod, but why not use :

search.php?action=show_user&user_id=3 to retrieve all post from one user and show them as a log. Im not a programmer btw, just a idea. I think if you go this way your mod can be smaller.

How can i make a second portal that only strip out postings from one specific user?

Thanks tubby but that don't work...still get "unable to fetch".

I want a function that users that post a story or whatever also can add there own adsense code and earn some money. This would be great and its a upcoming trend.

okay... i just change something in the parser

//
// Turns an URL from the [img] tag into an <img> tag or a <a href...> tag
//
function handle_img_tag($url, $is_signature = false)
{
    global $lang_common, $pun_config, $pun_user;

    //$img_tag = '<a href="'.$url.'"><'.$lang_common['Image link'].'></a>';
    if (stristr($url, $_SERVER["SERVER_NAME"]) === false)
    {
        $img_tag = '<a href="'.$url.'" onclick="window.open(this.href); return false;"><'.$lang_common['Image link'].'></a>';
    }
    else
    {
        $img_tag = '<a href="'.$url.'"><'.$lang_common['Image link'].'></a>';
    }

    if ($is_signature && $pun_user['show_img_sig'] != '0')
        $img_tag = '<img class="sigimage" src="'.$url.'" alt="'.htmlspecialchars($url).'" />';
    else if (!$is_signature && $pun_user['show_img'] != '0')
        $img_tag = '<a href="'.$url.'" target="_blank"><img class="postimg" src="'.$url.'" alt="'.htmlspecialchars($url).'" /></a>';

    // ************************ FOR PLUGIN: BB_Code_ImgSize ********************** //

    include(dirname(__FILE__).'/../plugins/AMP_BB_Code_ImgSize/BB_Code_ImgSize.funcs.php');
    $img_tag = BB_Code_ImgSize($img_tag);

    // *************************************************************************** //

    return $img_tag;
}

This is my thing, simpel but it works smile

        $img_tag = '<a href="'.$url.'" target="_blank"><img class="postimg" src="'.$url.'" alt="'.htmlspecialchars($url).'" /></a>';

not needed anymore, solved it on my ownnnn smile

http://www.punres.org/files.php?pid=358

Great mod only one thing i want to change and maybe somebody can help me with that. When you click on a small picture you get the full picture in another window.

jups

I use the portal from Tubby but i miss one thingie...

how can i make a portal registered protected. So only registered users can view it and guest receive a message to regsiter/login?

I tried this, but this is not working you get a message 'unable to fetch'.

if($pun_user['is_guest']) { message($lang_common['No permission']);
;}

@pogenwurst
many thanks, works great!

wow thnx works great!

how to use this?

That would be great.....