26

(11 replies, posted in PunBB 1.2 discussion)

hello.

ive finally got the inpiration to start a new site.  basicly i want to let designers (signatures and such) upload or link their artwork on my site.  members could rank artwork and comment giving suggestions and pointers.  although the upload section and forums would look different they could actually be the same thing.

i know something like this would actually require quite a bit of work and i figure a well modified version of punbb would be well suited for the job.  im sure rickard did a much better job coding a posting system than i could ever hope to acheeve. 

i was wondering if anybody had other suggestions as to how i could pull this off.  i was thinking i could create a forum topic that isnt visible in the regular portion of the forum by modifiying the sql statement.  then use a second viewtopic.php and viewforum.php to display the images ect.  i want the comments under the images to have all the same features and benefits of using the forum just not look like it.  of coruse i would still include rickards link down at the bottom of everything.

thanks for any tips. smile

javascript popup? big_smile

28

(1 replies, posted in Feature requests)

ok im not sure if this has happened to anybody else but if you enter a message with incorrect bbc syntaxt then the board will generate an error message.  ok thats fine by me but if you click the back button the message is erased!!!!!  this only seems to happen when im typing a particuarly important or long message.  big_smile

arghHH! not again!

oh.

http://www.f8klan.com/forum/index.php

im using the EAFM and created a members only section.  im not sure what i would need to show you to create the statement though.

hmm still selecting members only topics.  maybe i set it up wrong?  do you need more information about my database?

32

(23 replies, posted in Feature requests)

Rickard wrote:

Doing this will be a lot easier with PunBB 1.2, which (thanks to Paul) has way better markup and utilizes CSS to a greater extent than 1.1.


smile

im pretty excited for this.

$result = $db->query('SELECT t.id,t.subject FROM '.$db->prefix.'topics AS t,'.$db->prefix.'forums AS f WHERE t.forum_id=f.id AND f.admmod_only=0 AND t.moved_to IS NULL ORDER BY t.last_post LIMIT 14') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());

hmm,  i tried that and now i seem to be pulling topics that are pretty old.  im running ver 1.1.1 with the EAFM.  does that make a difference.

could somebody help me construct a statement?

34

(16 replies, posted in PunBB 1.2 troubleshooting)

heres another problem that rick helped me fix on the #punbb channel.

<?php
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);

$pun_root = '../../forum/';
include $pun_root.'include/common.php';
?>

i think this is the code to use if your about ver 1.1.  is that right?

anyway its much simplet and works like a charm.

35

(18 replies, posted in PunBB 1.2 troubleshooting)

alrighty!

so i talked to Rickard on the #punbb channel (quakenet) and we solved the problem.

turns my servers date and time was set to like 1999.  this meant it was sending out cookies that should expire in one year.  IE was deleting them because it thought they were old.  fixed the date and fixed my problem.

thanks smile

36

(16 replies, posted in PunBB 1.2 troubleshooting)

smile

ok.  http://www.fatalthugs.com/f8redone/content/ is where i am right now.

and i need to pull files from.  http://www.fatalthugs.com/forum/include/

this are on my webserver at C:/Inetpub/fatalthugs site/forum/include and C:/Inetpub/fatalthugs site/f8redone/content.

thanks

37

(16 replies, posted in PunBB 1.2 troubleshooting)

hmm, well my board is currently 1.1.1 and i did try fixing it by using the .. to bring it back to the parent directory. 

$pun_root = './forums/';
include $pun_root.'include/common.php';

i tried other things since i know im two directories ahead of the root (besides using just periods).  im still on a windows server so i tried using the / slashes to see if it helped.  still no luck.

<?php
$pun_root = '../../forums/';
require $pun_root.'include/common.php';
?>

but im still getting this same old error.

Warning: main(../forums/include/common.php): failed to open stream: No such file or directory in C:\Inetpub\fatalthugs site\f8redone\content\index.php on line 3

Fatal error: main(): Failed opening required '../forums/include/common.php' (include_path='.;c:\php4\pear') in C:\Inetpub\fatalthugs site\f8redone\content\index.php on line 3

38

(16 replies, posted in PunBB 1.2 troubleshooting)

hello.  rather than start a new topic i thought i would just come back to this one i started a while ago.

as my site expands i find myself having to use this code in different directories.

ini_set('include_path', ini_get('include_path').';.\forum');
include 'config.php';

the problem is i can only get it to work if i place it in the root directory and at the top of whatever page is using the script.  i was wondering if i could get a bit more detail into how this pice of code works.

if my forum is located in /forum and im in /members/list or something like that and i still need that config.php stuff then i have no idea how to setup the code.

39

(18 replies, posted in PunBB 1.2 troubleshooting)

ok so i tried clearing cookies and have the levels set to default.  still gave me the same problem.  im pretty sure thats not it either since i had the linux server up for a day and had complaints from other people.

anyway, i can switch from the linux and windows server fairly quickly by simply changing my router to forward port 80 to either one. 

so what i did was make the linux server public. changed the base url.  accessed it from its domain name (www.fatalthugs.com/forum) and still had the same problem.  i was thinking though, in a few days i could just put the linux server up and change the link to the forum saying its down.  id give you guys the link to check it out so you can see whats happening for yourself.

unfoftunatly, we really need it up and working for the weekend.  probably monday ill change it to the linux server and give you guys the link to see for yourself.

thanks for the help so far.

40

(18 replies, posted in PunBB 1.2 troubleshooting)

currently im setting up the linux server on my local network while my router forwards traffic to the working windows server.  so i could forward to the linux server but would create quite a stir if members couldnt login.

i thought maybe since im accessing my server by its ip address that might cause a problem.  i get to the forums on the server by typing http://192.168.1.56/forums but already changed it to that address in the admin options menu.

since it works fine in mozilla and doesnt work in IE that might help us understand the problem.  once i wrote a script that worked perfectly in mozilla but wouldnt even show up in IE.  it was misinterpreting the code.  maybe its something like that?

41

(18 replies, posted in PunBB 1.2 troubleshooting)

WooHoo!

finally got it working.  rather than mess around with uninstalling the old version of php i just went ahead and downloaded fedora core 1.  its sweet but pretty much the same thing as rh9.

http://www.sporkit.com/misc_links/pictu … SRVfix.jpg

annnnnyway.  still one more little problem i have left.  i figured fixing the database would make that login problem under IE go away but its still happening.  a user will login and see the successfull login screen but never actually login.  im not really sure what the deal with that is.  if you have any suggestions about this one too i would love to hear it.

btw ill admit i asked this php / mysql question on about 4 forums since i needed an answer asap but Rickard was the only guy to give me an answer that worked.

thanks man your amazing.

42

(18 replies, posted in PunBB 1.2 troubleshooting)

wow. so just from 4.2 to 4.3 can make that much of a difference.  ill give it a try and get back to you.

here are screenshots from the linux and windows servers till i change it.
http://www.sporkit.com/misc_links/pictu … winSRV.jpg
http://www.sporkit.com/misc_links/pictu … lnxSRV.jpg

43

(18 replies, posted in PunBB 1.2 troubleshooting)

ohh
im actually switching from windows to linux but your saying if i put 3.0 on the linux box it might work?

44

(18 replies, posted in PunBB 1.2 troubleshooting)

yea actually.  i think im running version 4 and my server had 3.  still though all i did was dump the database to a .sql file.  i dont know why that would affect anything.

45

(18 replies, posted in PunBB 1.2 troubleshooting)

hello.

i upgraded my win2k server to linux.
apache, mysql, and php are all working correctly.
i copied my site over and tried bringing the database over two ways. (exporting sql files, copying the contents of the data folder over, i even resinstalled the forum with the tar.gz file)

the problem now is that old users cant login anymore.  they get an incorrect username and password error.  however if i register a new test user on the site then they can login.  this leads me to believe that the md5 hashes are different between linux and windows.

i also think that my cookies might be a little messed up.  whenever i login on the linux server it marks every forum as unread.  even after i browse them it still says they have new posts. also if i login using IE with the new test user i login then instantly logout.

i hope its just some type of cookie deal.  i went threw alot of working getting a perfect linux server working just to find my forum doesnt like it.  sad

thanks for any help or tips.

46

(4 replies, posted in PunBB 1.2 troubleshooting)

i suppose your trying to hid the lan forum from work members huh?  unfortunatly i was trying to do something similar.  i set the a forum as locked and mods only which made them disapear but still didnt let people i gave access to it using the efam.

still i the EFAM works great i love it.

47

(2 replies, posted in PunBB 1.2 troubleshooting)

ohh k.  well i guess i sorta got it to work.

i basicly entered the smtp address of an older mail server in php.ini.  however, i know the old address i was using worked correctly because i use it with outlook.  i have no idea why it would be so picky.

anyway, i was wondering whats stopping somebody from setting my email address and smtp in php.ini and spamming. or am i missunderstaning something?

48

(2 replies, posted in PunBB 1.2 troubleshooting)

hey everybody.  been a little while.

anyway i recently upgraded my server and had to reinstall my php.ini.

when new users register for my board they get this message.

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Inetpub\fatalthugs site\forum\include\email.php on line 79

basicly i tried setting everything both ways in my options menu (without anything in the smtp server address and with or without username and password encryption.)

the error says to make sure sendmail is set in my php.ini soo heres the code from that.

[mail function]
; For Win32 only.
SMTP = smtp.ameritech.yahoo.com

; For Win32 only.
sendmail_from = sporkit150@ameritech.net

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

yes im using a win2k server but i have no idea why it would do this.  ive restarted and everything.

any suggestions?

hi. sorry the site was down for a bit while i was upgrading my server.

i ran a mysql query.  something like "DELETE * FROM forum_posts WHERE uid=273" or something like that.

heh i guess i should asked first.  but now im totally ready to go with your next suggestion.

thanks

http://www.fatalthugs.com/forum/viewforum.php?id=8

if you take a look at this link you should be able to see a user called sl scuzz has spammed the hell out of my board.  ive already banned him and deleted his account and such but there is more there thats still making me look bad.

i was hoping i could get some mysql commands that would help me whipe out his name in the last post section as well as delete all topics started by him.

im not sure if this is considered sensative material so maybe somebody could help me out threw email.


anyway thanks yall.   big_smile