You're talking about fancybox, this thread is about Stylish announcement tongue

Nothing to do with jquery in this particular extension wink.

153

(21 replies, posted in PunBB 1.4 additions)

:: Information and features
It adds fancybox2 to your forum, handling post images and help sections.

:: Authors
Fancybox was created by Jānis Skarnelis and it's under Creative Commons Attribution-NonCommercial 3.0 license. If you're planning to use it in commercial purposes you should by a license here.

:: Dependencies
- pun_jquery

:: Video
http://www.youtube.com/watch?v=jQvz8m4q … e=youtu.be

:: Screenshoots
http://i.minus.com/iNMm5MY1Szpzb.png
http://i.minus.com/ibwxPW6GYalRB8.png
http://i.minus.com/i1LvItgxyqckD.png

:: Demo
http://kushithemes.t15.org/viewtopic.php?pid=40#p40
login: Urban
password: demo

:: Instructions
User may decide whether he want his image displayed in fancybox or not, thus he can add

[img=nf]link[/img]

and image wouldn't be parsed to fancybox.

:: Download
https://dl.dropbox.com/u/82283017/punbb/9-av-download.png

154

(1 replies, posted in PunBB 1.4 troubleshooting)

Nevermind, I've solved it.

155

(1 replies, posted in PunBB 1.4 troubleshooting)

Hello!
I'm trying to edit parser.php, and there's a hook

$return = ($hook = get_hook('ps_handle_img_tag_end')) ? eval($hook) : null;

And well, as far as i understand, whole content of <hook id="ps_handle_img_tag_end"> is signed to variable $result.

So I'm trying something like this

            <hook id="ps_handle_img_tag_end"><![CDATA[
            '<span class="postimg"><a rel="example_group" href="'.$url.'"><img src="'.$url.'" alt="'.forum_htmlencode($alt).'" /></a></span>';
            ]]></hook>

But it doesn't work.
I've also tried

            <hook id="ps_handle_img_tag_end"><![CDATA[
            if (!$is_signature && $forum_user['show_img'] != '0') {
            $return = '<span class="postimg"><a rel="example_group" href="'.$url.'"><img src="'.$url.'" alt="'.forum_htmlencode($alt).'" /></a></span>';
            }
            ]]></hook>

cause I need this conditional, but it also doesn't work. What I am doing wrong?

:: Information and features
Adds stylish new message notification.

It additionally supports Urban and Hydrogen themes.

:: Dependencies
- pun_pm obviously

:: Screenshoots
http://i.minus.com/ib2mtgQhVBKXOS.png
http://i.minus.com/i3JZ2uW0FMZSN.png

:: Download
https://dl.dropbox.com/u/82283017/punbb/9-av-download.png

Ver 0.2 released
- restyled

158

(71 replies, posted in PunBB 1.4 additions)

I've upgraded theme to 1.2

  • fixed some small issues

  • restyled paging
    http://i.minus.com/ibue2QBwDz3PFo.png

    For which I strongly recommend change in common.php lang file lines 76 and 77 to

'Previous'                    =>    '«',
'Next'                        =>    '»',
  • restyled submit button ( very nice idea wink )
    http://i.minus.com/ibyyqhzFVcVonJ.png

All of the changes are commented, at the end of the css file, so You can delete whatever part You want.

Hello, could anyone transform it to 1.4? It's the most essential extension for my forum and seems that it doesn't work sad. Moderators cannot see 'Administration' link in user profile.

Check out Urban demo :>. The idea is to let user decide how it should be pinned. But I should first add cookies, and I don't really understand how does it work in jQuery.

@hklown
Please log on http://kushithemes.t15.org/ using username: Hydrogen pswd: demo and tell me if this is what You meant wink.

Moving entire div.

As soon as i would learn how to inject jQuery ( so it would be needed, now it's based only on CSS ) and most important pass my exams :<.

:: Information and features
A PunBB extension that fix forum announcement to the right side and allows to expand it on mouse over.

I was tired by scrolling down my forum, cause I had quite tall announcement div, so I've decided to solve this somehow. This is how this extension was born.

It additionally supports Urban and Hydrogen themes.

:: Screenshoots
http://i.minus.com/i4ty4PZIIEcRw.PNG
http://i.minus.com/i57DPAiI6Y398.PNG
http://i.minus.com/iI6C6JcDzXPel.PNG
http://i.minus.com/iLADkVNeIbiYm.PNG

:: Demo
http://kushithemes.t15.org/viewtopic.php?pid=40#p40

:: Download
http://dl.dropbox.com/u/56038890/punbb/cloud_download_32x32.png
psd file of 'ribbon'

Hello!
I would like to make New posts link bolded, if there are new posts on my forum. I've got many categories, and some people ( including me ), got little time and willingness, to scroll down and check if there are any new post. The post counter would be also very nice, eg. New posts ( 5 ). I understand that it would need some queries to DB, since header is loaded before index.php, where proper values are loaded from DB.
Please show me the way.

166

(110 replies, posted in Supported extensions)

I had reports, and it was happening to myself, while I was trying to log in, it was redirecting me somewhere ( can't remember address and I can't turn it on right now, to check it ), and that error occurs.

167

(6 replies, posted in PunBB 1.4 troubleshooting)

There's a function explode
Perhaps

<?
$address = '<a href="http://www.youtube.com/embed/yaEUrl8irZQ?rel=0">http://www.youtube.com/embed/yaEUrl8irZQ?rel=0</a>';
echo $address.'</br>';

$address= explode('"', $address);
//$address[1]; is what i need
?>

..may work tongue

168

(21 replies, posted in PunBB 1.4 additions)

Perhaps You should take a look on fancy_video_tag and spy some solution tongue.

169

(110 replies, posted in Supported extensions)

I also had some errors while logging in.

<response>
<iserror>
1
</iserror>
<error>
Invalid CSRF Token
</error>
</response>

After uninstalling this extension everything went normal.

170

(47 replies, posted in PunBB 1.4 additions)

By a jQuery. The idea is to add switch so it would onclick change css and save cookie

171

(110 replies, posted in Supported extensions)

May I suggest some features?
- Option to delete posts. It is quite obvious, someone could put some offensive shout, and you cannot do anything.
- Nickname linked to profile.

172

(47 replies, posted in PunBB 1.4 additions)

Could You bring me address? I will check things by a chrome inspector.

173

(47 replies, posted in PunBB 1.4 additions)

Sure,
in Hydrogen/main.tpl it look something like

    <!-- forum_messages -->
    <div id="brd-navlinks" class="gen-content">
        <!-- forum_admod -->
        <!-- forum_navlinks -->
    </div>
    <div id="brd-wrap" class="brd">
    <div id="brd-head" class="gen-content">
        <!-- forum_skip -->
        <!-- forum_title -->
        <!-- forum_desc -->
    </div>
(...)

You have to put <div id="brd-navlinks" class="gen-content"> below <div id="brd-head" class="gen-content"> div. So it would look like.

    <!-- forum_messages -->
    <div id="brd-wrap" class="brd">
    <div id="brd-head" class="gen-content">
        <!-- forum_skip -->
        <!-- forum_title -->
        <!-- forum_desc -->
    </div>
    <div id="brd-navlinks" class="gen-content">
        <!-- forum_admod -->
        <!-- forum_navlinks -->
    </div>

You would have to do similar things in admin.tpl

Now it's time for CSS. You have to edit #brd-navlinks Hydrogen.min.css:322, make sure to delete position: absolute and position tags ( top: right: etc. ) and to add float:right;. So it would look something like this.

#brd-navlinks {
background: #222;
border: solid 0px;
color: #EEE;
height: 50px;
line-height: 50px;
float: right;
}

Then it's time for #brd-head in Hydrogen.min.css:438. Add float: left parameter so it would look something like that.

#brd-head {
color: whiteSmoke;
border: solid 0px;
padding: 0;
padding-left: 48px;
background: transparent;
float: left;
}

Last, but not least .brd-page in Hydrogen.min.css:1085.  Add margin-top, that suits your header height, by default it's

.brd-page {
background: whiteSmoke;
margin: 0 auto 0 auto;
padding: 1.5em;
position: relative;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 7px;
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 7px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 7px;
margin-top: 92px; !important
}

Glad I could help smile. Please note, that I've added license to this theme.

174

(9 replies, posted in PunBB show off)

I don't understand why is it so strangely aligned? Perhaps it wasn't intentional? You should change width of your whole forum on .brd class instead of .brd-page

175

(71 replies, posted in PunBB 1.4 additions)

Only because I forgot about it, so it was displaying header ( I've decided to use main-head instead of main-subhead - that's why the file is there ). I guess, cause my site isn't working currently, I cannot check or fix that wink. Thanks for feedback @map210690.

/edit
Fixed and reuploaded.