1

(5 replies, posted in General discussion)

yea sorry thats true , but if you are runing it on your own server apche2triad is realy good and easy big_smile otherwise just 1 click and it will create a file in you punROOT directy then u can open that in sqlite..

2

(5 replies, posted in General discussion)

Well in the earlier versions it had a choice to pick sqlite instead of a biggerdb but im not sure I think they scrapped that. Version 1.2.4 is a good version my advice is download Apache2triad because it comes with everything you need mysql and sqlite admin so you can manuly put the tables in urself using the simple type and click method if not I could research my own sqlite db and see if I can find all the tables required for you to run the install script with lite wink

includes/templates/main.tpl is the directory But yea if you weren't looking to put anything there at all just delete the line big_smile

4

(5 replies, posted in General discussion)

Do you want to set it up for punbb or for another program?

5

(0 replies, posted in Programming)

Hi I have been making a mod for my site do quickly add new info by using a simple admincp i created, I want to be able to choose the page I want to edit and edit it in the 1 page.. ie(edit "game.php" in "edit.php" and "index.php" in "edit.php").
The problem I am having atm is when i go to change the page I want to edit it calls the id of the page but in that page is another processor that submits the info from that page and the result ends up being that the database is wyped becuse all the fields get submited empty. I want to proces multiple forms in the 1 script any pointers?

6

(4 replies, posted in Programming)

Kool just wat I was looking for in an answer wink
works fine now

7

(11 replies, posted in PunBB 1.2 troubleshooting)

well thx flx that could help I'll give it ago

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1,10' at line 1

I dont know why thats coming up I cant seem to find it anywhere in the punn scripts and or mods for it :S ne ideas?

9

(21 replies, posted in General discussion)

I dont know about anyone else but it sure would be nice to get my sqlite punbb into MYSQL it would solve alot of problems for me and keep all my members without having to send mass posts for them to register again...
That could be an idea for next pun?

Sory about this I though this was disgussing what to put in future versions, my bad sad

10

(4 replies, posted in Programming)

Wow! thanks heaps I get the basic Idea of php but syntax is not my thing smile would you know how to add the xp remaining and lvl to the database or did I have that right?

11

(11 replies, posted in PunBB 1.2 troubleshooting)

Yess it does cos it only indexs  the index page of my punbb not all the posts and topics

12

(4 replies, posted in Programming)

I am trying to use the cashmod in punbb and instead of it being cash I want to make it XP and everytime you get to a certain amount of "XP" your points go up heres the script I thought would work...

$cash == $pun_user['cm_cash'];
$lvl == $pun_user['lvl'];
$XP == $pun_user['XP'];
if ($cash<"20"){
    $lvl=="1";
    $XP =="20"-$cash;
    }
    else if ($cash=="20"){
    $lvl==$lvl+1;
    $XP =="20"-$cash;
    }
    else if ($cash=="40"){
    $lvl==$lvl+1;
    $XP =="40"-$cash;
    }
    else if ($cash=="65"){
    $lvl==$lvl+1;
    $XP =="65"-$cash;
    }
    else if ($cash=="90"){
    $lvl==$lvl+1;
    $XP =="90"-$cash;
    }
    else if ($cash=="120"){
    $lvl==$lvl+1;
    $XP =="120"-$cash;
    }
    else if ($cash=="150"){
    $lvl==$lvl+1;
    $XP =="150"-$cash;
    }
    else if ($cash=="185"){
    $lvl==$lvl+1;
    $XP =="185"-$cash;
    }
    else if ($cash=="225"){
    $lvl==$lvl+1;
    $XP =="225"-$cash;
    }
    else if ($cash=="270"){
    $lvl==$lvl+1;
    $XP =="270"-$cash;
    }
    else if ($cash=="300"){
    $lvl==$lvl+1;
    $XP =="300"-$cash;
    }
    else if ($cash=="350"){
    $lvl==$lvl+1;
    $XP =="350"-$cash;
    }
    else if ($cash=="400"){
    $lvl==$lvl+1;
    $XP =="400"-$cash;
    }
    else if ($cash=="450"){
    $lvl==$lvl+1;
    $XP =="450"-$cash;
    }
    else if ($cash=="500"){
    $lvl==$lvl+1;
    $XP =="500"-$cash;
    }
    else if ($cash=="550"){
    $lvl==$lvl+1;
    $XP =="550"-$cash;
    }
    else if ($cash=="600"){
    $lvl==$lvl+1;
    $XP =="600"-$cash;
    }
    else if ($cash=="650"){
    $lvl==$lvl+1;
    $XP =="650"-$cash;
    }
    else if ($cash=="700"){
    $lvl==$lvl+1;
    $XP =="700"-$cash;
    }
    else if ($cash=="750"){
    $lvl==$lvl+1;
    $XP =="750"-$cash;
    }
    else if ($cash=="800"){
    $lvl==$lvl+1;
    $XP =="800"-$cash;
    }
    else if ($cash=="850"){
    $lvl==$lvl+1;
    $XP =="850"-$cash;
    }
    else if ($cash=="900"){
    $lvl==$lvl+1;
    $XP =="900"-$cash;
    }
    else if ($cash=="1000"){
    $lvl==$lvl+1;
    $XP =="1000"-$cash;
    }
if ($tid) {
                $db->query('UPDATE '.$low_prio.$db->prefix.'users SET xp&lvl WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
                redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect'].'<br />You have gained '.$cur_posting['cm_cpp'].'XP');
            } else if($fid) {
                $db->query('UPDATE '.$low_prio.$db->prefix.'users SET xp&lvl WHERE id='.$pun_user['id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
                process_uploaded_images($new_pid);
                redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect'].'<br />You have gained '.$cur_posting['cm_cpt'].'XP');

            }

Any Ideas? hmm

13

(0 replies, posted in PunBB 1.2 troubleshooting)

I set up my punbb forum back in the days when I didn't know how to run a mysql server so I ran it on lite but now I am limited to how much I can update it without losing everything from the forum ..POSTs the look etc.
Any Ideas?

Does the sig still show in the profile I'm guessing it would since it not being edited I mist the affected files bit sorry I didn't see profile.php wasn't there hmm

15

(11 replies, posted in PunBB 1.2 troubleshooting)

ne1?

Yea what is the point unless the pic is viewed somewhere other than the topic view page?

17

(25 replies, posted in PunBB 1.2 show off)

I like the design I cant realy understand it though big_smile Well done

Hi, I have might site on google when you type dlngle into the search it brings up the punbb forum index and any search for text on that page it will show, but that is all none of the other pages have search results in google does anybody know why? site: www.dlngle.com

19

(65 replies, posted in PunBB 1.2 discussion)

You could ask people to click a link on it once in a while because I think the adds only work if there clicked?
Sorry I could be wrong the adds on my site never make more than 3bux a week and only cos I click them hmm
but yea perhaps just above the footer would get more hits?

20

(1 replies, posted in General discussion)

HAHAH wat a tank tongue

How can I make it so ranks go up when a certain amount of money is reached rather than amount of posts?

22

(12 replies, posted in General discussion)

yea notepad definately the way to go wink

Here are some of the features I think would work well in it.
Lets say the RPG was based around like.. D&D
Character Name..
Sex: Male/Female
Race: Humans, Elves, Half-Ellves, Gnomes, Dwarves, Halflings
Class: Fighter, Paladin,Ranger,Rogue,Sorcerer,Wizard,Barbarian,Cleric,Druid,Bard,Priest,Monk
Alignment:Good,Neutral,Evil ,ect.
Ability Scores: Strength, Constitution, Dexderity, Intelligence, Wisdom and Charisma
Skills: Each race and class has indervidual skills as admin make new ones all the time so people can advance.
Spells: For wizards,priests,monks,rangers,sorcerers and bards.
Apearance perhaps make lots of different images for the character to look like (eg, hair colour, clothes,ect.)
As for battling and earning money
Fighting: When fighting "real person" or "computer" attacking is based around skills, ability, weapons and spells.
Earning money: Platinum pieces,Gold pieces, silver pieces, bronze pieces, copper pieces ect. Money earnt through posting and through battles Users carry items on them and (eg, keep some at a bank )
What a user has on them when they lose a battle they will lose unless fighting a computer character.
Money earnt from mining,smithing,crafting,fighing,cooking,fletching etc.
Yes well That might help atleast the lay out :$

another way is just to put your code for the baner into the actual main.tpl its a bit messy but it should to the trik hmm

25

(16 replies, posted in General discussion)

Hello there!!!
    I have been trying to work out how to make a RPG game for PunBB but simply don't know how. If there was coders willing to help you could use my server http://www.dlngle.com as the playground for the site. Of coarse all the money can go back to whomever helps 'ie punbb' and I would love to get lots of people to my site. So anybody willing? I can rake up a whole lot of features for an rpg but coding is not my strong point wink