1

(8 replies, posted in PunBB 1.3 discussion)

KeyDog wrote:

all sorted

<div style="width: 468px; z-index: 999999; right: -200px; top: 15px; position: absolute;">

that does the trick -  the -200px big_smile

thx for help

EDIT:
<div style="width: 468px; left: 80%; top: 15px; position: absolute;">
i've done now, works better when making window smaller... the banner was just covering the forum if I made width too small of browser window

also added  /> to img tag to be w3c compliant....


But how can I add Skyscraper (120x600) Banner in both left and right side of the forum.

2

(5 replies, posted in PunBB 1.3 troubleshooting)

i just downloaded punbb 1.3.5 and i have wampserver. during install, an error was encountered.

it says:

Unable to connect to MySQL and select database. MySQL reported: Access denied for user 'SYSTEM'@'localhost' (using password: NO)

The error occurred on line 44 in C:\wamp\www\pun\include\dblayer\mysqli.php

3

(32 replies, posted in PunBB 1.3 extensions)

ADULT CONTENT MARKER

sir,

I want to add adult content extension (adult post marker) in my forum which is based on punbb 1.3.2. Using this plugin, I want to mention a post as inappropriate for non-adult and ask viewer his/her before showing the content to him. If the given age is below your Minimum Age requirement (configurable from settings page), then the viewer can’t see the content.

Can any one code it so that instead of asking for a person’s age, it asks for their birthday?

A lot of media outlets require publishers to ask in that fashion, as asking for the age (seemingly) is asking them to simply say they are of age, and therefore not a true age check.

How can I do that?

4

(1 replies, posted in PunBB 1.3 extensions)

sir,

I want to add adult content extension (adult post markar) in my forum which is based on punbb 1.3.2. Using this plugin, I want to mention a post as inappropriate for non-adult and ask viewer his/her before showing the content to him. If the given age is below your Minimum Age requirement (configurable from settings page), then the viewer can’t see the content.

Can any one code it so that instead of asking for a person’s age, it asks for their birthday?

A lot of media outlets require publishers to ask in that fashion, as asking for the age (seemingly) is asking them to simply say they are of age, and therefore not a true age check.

How can I do that?

Banglalibrary - Forum

5

(21 replies, posted in Discussions)

THIS PROBLEM IS RESOLVED

6

(2 replies, posted in Discussions)

THANKS A LOT. THE PROBLEM IS RESOLVED.

7

(21 replies, posted in Discussions)

sir,

Is it possible to insert a favicon in my PunBB forum? If I use shortcut icon tag in main.tpl, then it will be shown as a shortcut or not?

8

(2 replies, posted in Discussions)

Sir,

I want to edit alt text of the uploaded image unless the search engine can not identify the picture.
I notice by default the uploaded image in PunBB 1.3.2 contains alt text same as its link location.

e.g

the image location :

<img src="http://forum.banglalibrary.org/extensions/image_upload/images/1246259365.gif"


alt text :

alt="http://forum.banglalibrary.org/extensions/image_upload/images/1246259365.gif"

I want to change it as

alt="A Calcutta street view an albumen photo from the 1890's"


How can I change this alt  text? Or is there any option to write alt text in time of upload?

It would be kind enough if any one help me about this problem.

9

(12 replies, posted in Discussions)

Parpalak wrote:

I've already written about .htaccess.dist.

Parpalak wrote:

There is no need to add something to .htaccess.dist. This file contains a code to be placed into .htaccess if one wants to use URL schemes like folder-based.

If you do not use URL schemes just forget about it smile

If you had no .htaccess before you have to create it and write there

RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum\.banglalibrary\.org$ [NC]
RewriteRule ^(.*)$ http://www.forum.banglalibrary.org/$1 [R=301,L]

I write this in a new .htaccess file and upload it in forum. But after that redirect problem is solved but no one even administrator can log in or registrar in the forum. That's why I seek assistance.

10

(12 replies, posted in Discussions)

Parpalak wrote:

Try this:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum\.banglalibrary\.org$ [NC]
RewriteRule ^(.*)$ http://www.forum.banglalibrary.org/$1 [R=301,L]

Where should I put this code? In dist file or create a new .htaccess file with this code along with code in the dist file?

11

(12 replies, posted in Discussions)

ridgerunner wrote:

In config.php file, what is your $base_url set to?

My base url is

http://forum.banglalibrary.org

12

(12 replies, posted in Discussions)

Parpalak wrote:

There is no need to add something to .htaccess.dist. This file contains a code to be placed into .htaccess if one wants to use URL schemes like folder-based.

Are there any error messages? Please, post here what redirect code you are trying to use.


The above redirect 301 error found when I put my forum's url in websitegrader.com.

I try to use the redirect code :

RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum.banglalibrary\.org$ [NC]
RewriteRule ^(.*)$ http://www\.forum.banglalibrary.org/$1 [R=301,L]

13

(12 replies, posted in Discussions)

Permanent Redirect Not Found

Search engines may think forum.banglalibrary.org and www.forum.banglalibrary.org are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites.

Due to this error we lose our valuable hits.

We create a new .htaccess file with the redirect code in it. The above mentioned problem was solved. But a major problem arises that no one can not log in or register in forum. Even administration user id was not working.

Then we delete the .htaccess file. After that the login problem was resolved. We try to add this code in the .htaccess.dist, but it also provides no positive result for redirect. How can we use the redirect code?

14

(21 replies, posted in PunBB 1.3 troubleshooting)

KeyDog wrote:

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;
    }


Thanks Keydog for such a great topic.

With the help of this topic I successfully change my header. You can see it in this link : http://forum.banglalibrary.org/

liveambitions wrote:

That worked, thanks!

However, for the CSS page, I used this:

#google {
    float: right;
    width: 468px;
    height: 70px;
}

It aligns it more nicely.  smile

thanks for this topic. it'll help me to add banner in my forum's (http://forum.banglalibrary.org) header

16

(9 replies, posted in PunBB 1.2 troubleshooting)

Slavok wrote:

To include a PHP file in templates use <!-- forum_include "<MY_FILE.php>" -->. <pun_include "*"> was used in PunBB 1.2.


I want to include banner on the right side of the forum head which is blank. How can I do it?
I'm new in punbb. My forum address is http://forum.banglalibrary.org
It would be kind enough if you help me.