Pop Up with  an article Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Pop Up with an article

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Pop Up with an article

    Post by TheCrow July 16th 2014, 12:00 pm

    Hello,

    I want to add a pop up that will be fixed as a position and i want it to have the first topic of a certain category.
    i want it to be position fixed and be here:
    Pop Up with  an article 8Ze1aw1
    Something like the recent topic system of specific category that Ange made but as a fixed box. Can this be happened?

    Version: PunBB
    Address: http://informationforumgr.forumgreek.com/forum

    Thank you.


    Last edited by MrMind on August 1st 2014, 11:54 pm; edited 1 time in total
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 17th 2014, 12:53 pm

    Bump



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Pop Up with an article

    Post by Van-Helsing July 17th 2014, 1:40 pm

    Hi Marios,
    Create a new widget with ange's code like this which you are using for recent topics on specific forum then check "No" in field "Use a table type :"  and set the javascript to read just one topic. Then create the css for the box to place it where you wish. For the popup you will need to add a timer and the function show/fade in javascript.

    Best Regards,
    Dark-Avenger
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 17th 2014, 6:34 pm

    Hi,
    I want the javascript that will get the first topic of the category and one that will appear an X on the right top corner so users can be able to close it whenever they want.
    Can you help me with that?



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 20th 2014, 12:10 am

    bump



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 30th 2014, 12:06 pm

    Bump



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 31st 2014, 2:29 pm

    Bump



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Japorized
    Japorized
    Forumember


    Male Posts : 310
    Reputation : 3
    Language : English
    Location : Malaysia

    Solved Re: Pop Up with an article

    Post by Japorized July 31st 2014, 4:25 pm

    I'm not entirely sure of how to do this but I think the mod_news template might give you an idea cause it's functionality is quite similar to what you're looking for.

    As for the X button to close, just use jQuery to add a class that has display:none to the box.
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow July 31st 2014, 5:55 pm

    The problem is not the X. The problem is:
    I want a popup box with the article in it. The article will include the image, the title and 70 characters of the post.
    But i don't know anything about javascript.. Sad



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Japorized
    Japorized
    Forumember


    Male Posts : 310
    Reputation : 3
    Language : English
    Location : Malaysia

    Solved Re: Pop Up with an article

    Post by Japorized August 1st 2014, 5:46 am

    Here's what I've tried:
    - copied codes from mod_news template into a new forum widget, didn't work and shows only variables
    - copied same codes to homepage message, didn't work either, shows only variables

    I'm afraid I have no idea on how to solve this for now.
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow August 1st 2014, 2:53 pm

    I managed to grab the information of the mod_news and paste them in a box. The problem is that i cannot make it to grab the image of the topic



    Pop Up with  an article Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Japorized
    Japorized
    Forumember


    Male Posts : 310
    Reputation : 3
    Language : English
    Location : Malaysia

    Solved Re: Pop Up with an article

    Post by Japorized August 1st 2014, 3:39 pm

    Code:
    <img src="{post_row.switch_attachments.switch_post_attachments.U_IMG}" />

    Does this image variable work?
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Pop Up with an article

    Post by TheCrow August 1st 2014, 10:20 pm

    No that doesn't work! Sad

    Edit:
    I managed to fix that. How can i get an X to the top corner?


    I fixed it!  :wouhou: 
    SOLVED!!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19316
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Pop Up with an article

    Post by Ape August 2nd 2014, 12:41 am

    Topic solved and archived



    Pop Up with  an article Left1212Pop Up with  an article Center11Pop Up with  an article Right112
    Pop Up with  an article Ape_b110
    Pop Up with  an article Ape1010