Results 1 to 9 of 9

Thread: News Module: Image Rezise With Thread Link

  1. #1
    Join Date
    Nov 2009
    Posts
    2

    Wink News Module: Image Rezise With Thread Link

    Hi Friends in this module add thread link to the image:

    Resize Image With Thread Link on the news module

    news.php
    Find :
    PHP Code:
    // ##### <img> 
    After Add: forum site: www.example.com/forum
    PHP Code:
    $news['message'] = str_replace("<img""<a href='$vboptions[bburl]/forum/showthread.php?$session[sessionurl]t=$news[threadid]'><img style='border: 0;padding:5px;float:left;' width=50% height=50% " ,  $news['message']); 

    Also change width=50% height=50% for size want you.
    Change /forum/ for you forum link.

    Thanks to Jove for this modification.

  2. #2
    Join Date
    Aug 2009
    Posts
    3

    Default

    Where is news.php?

  3. #3
    Join Date
    Nov 2009
    Posts
    2

    Default

    Quote Originally Posted by mixapella View Post
    Where is news.php?
    forum/modules/news.php



  4. #4

    Default

    for vba 4.0 ?
    Si lo buscas lo... encuentras...

  5. #5
    Join Date
    Jul 2009
    Posts
    1

    Default

    Quote Originally Posted by softvnzla View Post
    for vba 4.0 ?
    yes working in vb4.0

    but


    PHP Code:
     $news['message'] = str_replace("<img""<a href='$vboptions[bburl]/forum/showthread.php?$session[sessionurl]t=$news[threadid]'><img style='border: 0;padding:5px;float:left;' width=80% " ,  $news['message']); 
    delete height...

  6. #6

    Default

    thanks you brother
    Si lo buscas lo... encuentras...

  7. #7
    Join Date
    May 2007
    Location
    KUWAIT
    Posts
    58

    Default

    thanks you nice

    i.s.s.w

  8. #8
    Join Date
    Dec 2008
    Location
    Egypt
    Posts
    4

    Default

    thx very much
    i'll try it

  9. #9
    Join Date
    May 2007
    Location
    KUWAIT
    Posts
    58

    Default

    problem
    enlarge small images

    i.s.s.w

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Want Just Image and Link for Module
    By sdfontanini in forum "How Do I..." Questions
    Replies: 5
    Last Post: 05-13-2009, 12:24 PM
  2. Article module? Loading single thread in news module?
    By Oyadus in forum Module & Modification Discussion & Requests
    Replies: 29
    Last Post: 01-06-2009, 06:13 PM
  3. How do I add the correct icon thread image to Recent Threads module
    By unforgotten in forum "How Do I..." Questions
    Replies: 4
    Last Post: 10-31-2008, 04:06 PM
  4. News inline image/thumbnail link to thread
    By ptytb in forum "How Do I..." Questions
    Replies: 8
    Last Post: 08-06-2008, 05:54 AM
  5. Image link in hompage news
    By gridirontalk in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 09-25-2004, 05:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •