ok, the one I downloaded wasn't translating admin area. can you just tell me which link you know for sure is working. thx!
and also confirm you tested on 1.3.2?
I see you translated everything, but somehow it's not picking admin part my end.

@Garciat:
1. From a developer standpoint; do you think I should be changing the stylesheets instead of way I am trying? Is it wrong to be using the functions hooks?
2. Any ideas how to specifically use that info you gave me regarding o_additional_navlinks. If I had PM installed. How would I get an image navpm.png to show ?

    // Are there any additional navlinks we should insert into the array before imploding it?
    if ($forum_config['o_additional_navlinks'] != '' && preg_match_all('#([0-9]+)\s*=\s*(.*?)\n#s', $forum_config['o_additional_navlinks']."\n", $extra_links))
    {
        // Insert any additional links into the $links array (at the correct index)
        $num_links = count($extra_links[1]);
        for ($i = 0; $i < $num_links; ++$i)
            array_insert($links, (int)$extra_links[1][$i], '<li id="navextra'.($i + 1).'">'.$extra_links[2][$i].'</li>');
    }

this is my issue 2 mentioned... how do I get different images for extra links if someone has installed extensions PM, etc ?

1,604

(4 replies, posted in PunBB 1.3 troubleshooting)

oh I see , thought you wanted POST author width (that's where I was thinking of avatars) changed...
haven't fiddled with what you're trying to change  yet.... maybe someone else can help I hope...

1,605

(9 replies, posted in PunBB 1.3 troubleshooting)

http://punbb.informer.com/forums/topic/ … inks-beta/

maybe you can help me with two issues I have with the beta extension I just made....

Navlinks Icons At Top Instead Of Index, Userlist ...
Instructions:
unpack & install

ADDED 25-02-2009:
Navlinks 1.5
now with hover over effect: see here


http://keydogbb.info/img/navlinks.jpg


old:
********************************************************
Navlinks 1.4 (using .gif)
Demo
Note: If you are using gifs instead of pngs this set will be for you as you only need to change set in folder img - and not change anything in manifest.xml
Navlinks 1.2
Demo
Navlinks 1.1
Demo


EDIT: Bug fixed that didnt show icon when user is logged in


If you're good with graphis editing / creation make files named: navadmin

navlogout
navprofile
navsearch
navregister
navuserlist
navindex
navrules
navlogin

.png      then upload them somewhere and post link here - it would be good to get lots of styles going!
old:

What It Does?
Replaces text links in navlinks bar with images from folder /img
i.e. this adds your graphic feel to website!
Problems I would like help with:
1. Assuming someone has installed extension (for arguments sake) PM - how can I add an individual image for that aswell?
2. Adding a function to extension which automatically places the images in img folder so that user can just download and one-click-install without moving images around // DONE!
3. Add Active Topics etc to be replaced by images instead of text when called for
4. Add Admin Userinterface to turn on/off certain images

Who's it for?
People wanting to add some customization fast and hassle free.
Guess target audience will be first time users who have knowledge with graphics creation or just plain simple novices.

Thx a lot for that. User interface looks good.
Admin area left in english though correct?

1,608

(4 replies, posted in PunBB 1.3 troubleshooting)

/*************************************************************
G - MAIN CONTENT - TOPICS AND PARSED CONTENT
**************************************************************/

/* Structure
-------------------------------------------------------------*/

then change the 
.brd .post .posthead .post-byline {

to a margin-left: -14em for example, i.e. higher value (lower negative number)

I think...

I also would like such a side-column and float it either on right or left of main forum.
Then choose whether I put ads or menu items or lists of last posts, most views, etc in them.

If anyone knows of such extensions do let me know. Seems very basic need I would think (if one is using the forum as stand alone and doesn't just wrap another website around it...)

Plus there is loads of space to do such things without cluttering it in the least I find. Specially the way screens are going; WIDE and LARGE.

1,610

(9 replies, posted in PunBB 1.3 troubleshooting)

Brilliant. That works! Many thanks.

1,611

(9 replies, posted in PunBB 1.3 troubleshooting)

            <hook id="fn_generate_navlinks_end"><![CDATA[
        
            global $base_url;
            
                if ($forum_user['is_guest'])
                {
                $links['login'] = '<li id="navlogin"><a href="'.forum_link($forum_url['login']).'"><img src="'.$base_url.'img/blink.png" alt="Login" /></a></li>';
                }
            ]]></hook>

Is anything evidently wrong up there? because it shows no image anywhere....
if  I take global $base_url; away it shows the image when it should, but always with that error.....

1,612

(9 replies, posted in PunBB 1.3 troubleshooting)

Notice: Undefined variable: base_url in   .../include/functions.php(466) : eval()'d code on line 43 

image does show when logged out , and doesnt show when logged in - so thats cool.

any ideas why I'm getting that error when logged out? (no error when logged in)

1,613

(9 replies, posted in PunBB 1.3 troubleshooting)

thx guys. trying that one....

17-12-2008
http://punbb.informer.com/forums/topic/ … inks-beta/
is where the extension I made (with help from garciat obviously) can be found to download.


************************************

I'd like to add an image to navlinks either next to or replacing text login (as example - then I can do the rest hopefully)

in include/functions.php   1.3.2 line 436

    $links['login'] = '<li id="navlogin"'.((FORUM_PAGE == 'login') ? ' class="isactive"' : '').'><a href="'.forum_link($forum_url['login']).'"><span>'.$lang_common['Login'].'</span></a></li>';
    }

how must I do that?

how would I use the hook fn_generate_navlinks_start [line 417]  to echo the image [assuming location img/navlogon.png] if I were to write an extension (which I'd like to]

My intentions:
1. To be able to click the image as a link [login in this example] instead of having text  and/or
2. Have an image next to text (say an image of a key next to login text)

thanks teva; your help sorted out my issue

Section "Logo and Headings" [file: Oxygen_cs_css]
add:

#brd-head {
    background: #296FA5;
    color: #ddd;
    border-color: #296FA5;
    background-image:url(/img/header1.png);
    height: 60px;

[

Section "Logo and Tagline"   [file: Oxygen.css]
and for the disabling of brd-title & brd-desc:


#brd-title {
    padding-bottom: 0;
    display: none;
    }

#brd-desc {
    font-size: 1.084em;
    padding-top: 0;
    padding-bottom: 0;
    display: none;
    }

1,616

(2 replies, posted in PunBB 1.2 troubleshooting)

My hosting company was updating PHP 5.2.26 to PHP 5.2.8  & MySQL 4.1.22 to MySQL 4.1.22_1 today and forum went offline with that message you saw while they were doing it.

On all pages of entire forum I had that message (and nothing else).

General Question: Is there no way for them to do such updates without entire forum going offline? (I asked them and they reckoned NO)

[found this post googling the error]

1,617

(9 replies, posted in PunBB 1.3 extensions)

[divx]http://mywebsite.bla/xyz/test.avi[/divx]produces  an embedded divx player in your post.
You can use any URL you have of Divx Files. 

newly added bbcode help included

1,618

(9 replies, posted in PunBB 1.3 extensions)

What it does:

It embeds the Divx Web Player into the post
when you integrate;

[divx]http://www.test.bla/file/test.avi[divx]

(your divx file url wrapped by divx tags)

Who is it for?

Any Administrator or User who has access to URLs of Divx Files and wants to show posts with the Divx Files. (Same affect as someone adding a YouTube Video for example)

The PlugIn Web Divx Webplayer for your browser can be downloaded at divx.com direct link for free if not installed yet. You can check out more on the player here: http://labs.divx.com/WebPlayer

[DivX Web Player lets you watch DivX videos right in your web browser. Some people prefer the quality compared to good old flash I guess]


EDIT: PS if someone knows of another good opensource player for xvid or regular .avi files --> please let me know. Always better not being stuck with divx and having alternative to flash.

Thx. That works...
Couple follow on questions;
1. When I visit website with widescreen it repeat shows image. (I had chosen 780x65 for png) What is best way to solve that? Just make image wider? Or is there a way to make it appear just once.
2. If I want that header.png to be instead of brd-title and brd-desc what would I need to doo? (or would that be a mistake for search engines trying to rank my site if they don't find such info)

1,620

(9 replies, posted in PunBB 1.3 extensions)

NEW: [added 05-03-2010] Download 1.0.1
**************************************************

Download the Extension here  [added 15-12-2008 !]     now includes add to BBCode Help

note:
1. make sure    Allow BBCode parser to detect URLs and put them into url tag.    in
Settings / Features is DISABLED
ps: if anyone knows a workaround for that let me know!
2. use as follows in post:

[divx] your file url [/divx]

my first extension. let me know if it works to satisfaction.
it's intended for people who have .avi divx files on their server for example...

Trac Error

No node /punbb/branches/punbb-1.3-dev/extras/db_update.php at revision 986

You can search in the repository history to see if that path existed but was later removed

I also need to upgrade a 1.2.x forum to 1.3.2 - how is best way to proceed?

Basically  I just want the databases i.e. posts, users and want to place them in fresh database (I use phpMyadmin if that helps)
MySQL-Version:     4.1.22   (old forum uses)
MySQL-Version:     5.1.26-rc (new one uses)

PunBB 1.2.14  my version.

What do I need to change to get an image showing in header located at

mysite.bla/img/header.png

seen the 1.2 info, but header.php is different in 1.3.x

Thanks.

1,623

(41 replies, posted in PunBB 1.3 extensions)

Great. Now it works. Just added the 'divx' to /extensions/pun_bbcode/bar.php aswell - as I'm using  bbcode official extension.  (as explained in this forum post for youtube etc). Thx a lot for help! download of step by step instruction for bbcode divx addition in 1.3.2 with pun_bbcode extension.

1,624

(41 replies, posted in PunBB 1.3 extensions)

@SkyLine: Thanks a lot for that info. Not working for me just yet. Is it possible that the divx tag needs to be defined somewhere?
Posted this code:

[divx width=480 height=360]http://www.mywebsite.bla/xyz/Test.avi[/divx]

and just get this in post at the moment:

http://www.mywebsite.bla/xyz/Test.avi" />http://www.mywebsite.bla/xyz/Test.avi" width="480" height="360" autoPlay="true" type="video/divx" pluginspage="http://go.divx.com/plugin/download/">

@Neck: Yes. I agree. big_smile piece of cake for you no?


EDIT: it keeps wrapping url tags around the path to file... is that normal?

[divx width=480 height=360][url] xxxx [/url][/divx]

1,625

(41 replies, posted in PunBB 1.3 extensions)

I wondered if DivX Web Player can be supported with this excellent tag tool.
Or what I need to replace to maybe get a Divx/Avi Tag working?

Example I need help with
Actual Web URL which has adress:

www.mywebsite.bla/20081121826/blablabli.html

___________________________________________________________
and within that post .html this html code is placed:

<object width="480" height="360" 
codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"
classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616">
<param value="http://www.mywebsite.bla/Divx/blabla.jpg" name="previewImage" />
<param value="false" name="autoPlay" />
<param value="true" name="loop" />
<param value="http://www.mywebsite.bla/Divx/blabla.avi"
 name="src" />  

<embed width="480" height="360" 
previewimage="http://www.mywebsite.bla/Divx/blabla.jpg" 
pluginspage="http://go.divx.com/plugin/download/" 
autoplay="false"
loop="true" 
src="http://www.mywebsite.bla/Divx/blabla.avi" 
type="video/divx"></embed>  </object><br />

No video? Get the DivX Web Player for 
<a href="http://download.divx.com/player/DivXWebPlayerInstaller.exe" 
style="text-decoration: underline;">Windows</a>   
or <a href="http://download.divx.com/player/DivXWebPlayer.dmg" 
style="text-decoration: underline;">Mac</a>

___________________________________________________________

How can I integrate DivX Vids with above information.
I tried fiddling round with manifest.xml but

1. I didn't know what to put in array of match or url (lines 70 or so)

2. insted of display flash player one would need something like this?

 return
'<object type="video/divx" data="'.$playerUri.'" width="'.$s['width'].'" 
height="'.$s['height'].'">'.
'<param name="src" value="'.$playerUri.'" />'.    
'<param name="autoPlay" value="false" />'.
'<param name="loop" value="true" />'.
'<p><a href="'.$videoUri.'">[divx (divx web player not installed)]</a></p>'.
'</object>';

So is there a possibility to add .avi support or any ideas?
Thanks a lot!