651

(3 replies, posted in PunBB 1.2 discussion)

Dont think you can disable it but you could go into the code and remove it?

Yes guests can posts witout needing to reiger.

go to admin > forums > Select the forum you want > EDit > and you can select who posts there.

optimistic wrote:

Hi Torbz
I seem to be going through the exact same thing with webfusion. In my case whilst trying to install shopping cart software. Are they deliberately obfuscating? I wonder if there are more people out there who just give up - and I wonder if that is just what they want?

Switch host. I had to switch host as i was geting a punbb error. never round out.

Im sure we would and could find out the errors if we had access to a shot that dint work.

but we dont

PhaxeNor wrote:

Tried looking at that, but it didn't change anything when I edited it

What are you trying to get from the lang file?

chances are what you want is $lang_common or $lang_index

if you use lang common you want to  add
require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';

to get the title from the index page you want to get it from the lang index.php file

require PUN_ROOT.'lang/'.$pun_user['language'].'/index.php';

and i belive to the the board title you would do

 $page_title = pun_htmlspecialchars($pun_config['o_board_title']);

656

(12 replies, posted in PunBB 1.2 discussion)

My deffininion of danger in this case is losing the forum, someone hacking into it and taking the admin account.

i cant see any danger of spam bots, yeah they are annoying, and as they post links, you can just disable links in posts and if you are under attack from spam bots (in my case) my admins and mods would see this due to there activity and deleate it.

657

(12 replies, posted in PunBB 1.2 discussion)

Security is the condition of being protected against danger or loss

You are not in ANY danger when a spambot posts on your forum.

The only thing you can lose is possible forum members,

But There are mods you can install (lots) that will help remove the spam bots.
Featues will be installed in 1.3 as defult to help agains this, but if you want, you can install more sucerity features to protect your forum

658

(5 replies, posted in PunBB 1.2 troubleshooting)

yemgi wrote:

verify that the avatar folder rights are set to 777

yes.

659

(3 replies, posted in PunBB 1.2 troubleshooting)

In order for avatar/cache uploads to work, the user account under which the webserver runs must have write permissions to the avatar directory.
on your ftp you need to allow punbb to write to the "cache" directory.

you gotta go to your ftp, click on the cache folder and get to the setting somehow, then basicly you want chmod (0)777

660

(3 replies, posted in PunBB 1.2 discussion)

yeah just create a new user group and only allou them acces to the forum, admins will see it, but members not in that gorup wont be able to access the forum and thus not posting

duasun wrote:

yeah
but i need to have something from mysql dbase?

shouldnt think so, they were alrdy in the "miniportal" code so if your using that it should be fine.

if not, add

t.poster, t.subject,

to the mysql qurey

662

(1 replies, posted in PunBB 1.2 show off)

I havnt finnshed making this site, im still devleping it before i officaly open it.

i  have allot of mods on the forum, so any improvents, quesings or things that work or dont work, please tell smile

www.eternallegion.co.uk

Features:

Clan matches: addable via calendar and shows on main page.
User List: shows diffrent groups
gallery
Punportal
Arcade....
more minor ..

i know i have a few errors on IE, i am going to fix them.

<?php $cur_topic['subject'] ?> Posted by <?php $cur_post['message'] ?>

i think

hope it helped

anytime

Peter wrote:

It would be cool if you could allow users to put widgets on their profile pages.

Would that be at all possible? Where should I start?

Is it as simple as adding a new field to the database + input form + call on profile view?

If you mean widgets as HTML codes, then it should be ok to do..

a new field to the database + input form + call on profile view? you will have to make it not parsed like regular posts and thus may contain HTML.

1. Image size how many pixels?  Height x Width Limits. What is necessary if anything to make the image auto adjust?
the image size is up to you.

2. What do I save the file as? File name? Jpg, PNG, GIF etc...
you can same it whatever you want, use different formats for different qualities, size....

3. Where do I upload the image to?
normally img/ but you can upload it to where ever you want, as long as you set it on the code

4. What modifications to I make to the required files?  What are the file names and where are they located?  How is this accomplished? Text Editor?

If you are doing it the CSS way you edit style/imports/style_cs.css:
Or
If you are doing it the HTML way you edit include/template/Main.tpl

5. Are there any limits, do's or don'ts for image headers?
There isn't really limits, it is just what looks good and what doesnt. I'm sure you know what will look good and what wont. And you don't want them too big, so they take ages to load

6.  Is css the only way to accomplish this or can it be added into the html?

both.

Css :

 /* header logo */
.pun H1 
{
/* your logo and position */
background-image: url(../../img/yourstylename/logo.gif);
background-repeat: no-repeat;
background-position: left; /* you set your logo position here */
display: block;
height: 70px; /* logo height in here add width: size px if u need*/
}

HTML :

 <img src="LOCATION" width="" height="">

7.  How to make the image header transparent so you can still see the heading and comments?
GIF and PNG formats are transparent, if you save them in the correct way

(all this can be found on the punbb and punres forums with a bit of common sense)

hope this helped

poll http://www.punres.org/download.php?id=1070
irc http://www.punres.org/download.php?id=1070

this script is based on what? if you were going to be using it with punbb they there is no need for that, but i presumee your using it for a external site.

i did look at the code but the only thing i THINK it could of been is


<?php
include('3en1compteur/compteur.php');
echo '<!-- 3en1 compteur : www.notoon.com -->';
echo "Visiteurs : $v_total<br />";
echo "Aujourd'hui : $v_auj<br />";
echo "En ligne : $v_connecte";
?>

one of them shows what you want. play around, install the script and remove one and see what happens..

i may be wrong wink

669

(4 replies, posted in General discussion)

to log out you want to put a link to "login.php?action=out&id=2"

and to put a image on the redirection page, go to includes/templates there you will see redirect , edit that and put your picture there

Yes, make it please.

Look brillant

671

(7 replies, posted in PunBB 1.2 discussion)

i dont think you can (i beliove but ask the expert)

you cant access the same froum from more than one location. You hae ot access it via the same domain?

i think thats what he means

i belive you can

pun bb is under The GNU General Public License. In short terms this means that PunBB is free to download, use, distribute, modify and even charge for. However, if any of these modifications are released to the public, that code must also be released under the same license as PunBB.

Ahmed wrote:

Well, I looked how does looks your forum rules and understood that it is kind a porn forum. (Porn = haram!)
So I did not risk to open Your video, but I understood how to make what I need.

Just took frontpage blank page and made what I need and copy&paste code to admininistration menu options where is box for rules.

It works.

no its not, it is a video showing you what to do and how!

lol

im trying to show a users msn contacts on a page, im using the basic userlist. i am using $user['msn']  but have had no luck, i am unsure if i have to define it anywere?

im edting the userlist to only show users from a cirtin group.

( i want to show a selection of groups on one page)

i only want group 1 (admins) to show up in the list?

how would i do this?


mysql would be

SELECT `group_id` , `username` , `realname`
FROM `pun_users`
WHERE `group_id` =1
ORDER BY `group_id` ASC
LIMIT 0 , 30

DONE.


// Grab the users
$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, g.g_id, g.g_user_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id  WHERE `group_id` =1');
if ($db->num_rows($result))
{

i simpled it down a bit for me but