I cannot determine the 301 error you did... can you tell me how you know this?

EDITED:  OH OKAY... I SEE IT.

THANK YOU!

hmmm.. ,snip/edit> got it...

Okay, I have replaced the one I used to install into forum 1 (remember, it is already installed, so when you cick 'install' it will naturally take you to the error page....
Forum1:  http://www.sacredreflections.com/test_n … ll_mod.php

Here is...
Forum2: http://nbhealers.sacredreflections.com/install_mod.php

BTW... I have installed several mods with no problems onto forum2.  It is only when I first do it at forum1 that I then cannot do it at forum2.
Cheers, (and thanks for your time and effort)

PS: Sorry for the delays on my end, we have a meeting coming up tonite, so the 'girls' got me "busy-working" 8^P
Obviously you are being present here now, and so I will try to stay on top of watching this adn communicating back with you in a timely manner, and then let you know when I have to bug out.

I am unsure if you wish for me to upload them somewhere for you to download andinspect them, or if you wish to have one or both of them at the intended installation site?

No worries.
Heh... why didn't I think of that?!
Anyway, did what you asked...  same results. \^|

I recommend you search this site, and punres...  Click search button above ^, type in wordpress, and submit!
Cheers,

Yes, I realize this.  All I was meaning to point out was this...

Original code in the original install_mod.php is:

if (isset($_POST['form_sent']))
{
    // Run the install function (defined above)
    install();

Not the origianl code to be replaced, as you posted it:

if (isset($_POST['form_sent']))
{
    if (isset($_POST['install']))
    {
        // Run the install function (defined above)
        install();

If you read my post carefully you will see I am only meaning to be pointing this out "within the greater context" of where the closing bracket occurs in that particular construction of install_mod.php (for calendar mod) because this line "if (isset($_POST['install']))" is not used there.

Trying to be as clear as possible, sorry if my statements appear ambiguous.  I am certain I am following you, though.  Does this make sense?
Cheers,

Well I guess what threw me is the origianl code is different from what you posted, and I failed to notice that..
It goes like this (little larger snippet  included here)...

if (isset($_POST['form_sent']))
{
    // Run the install function (defined above)
    install();

?>
<div class="block">
    <h2><span>Installation successful</span></h2>
    <div class="box">
        <div class="inbox">
            <p>Your database has been successfully prepared for <?php echo pun_htmlspecialchars($mod_title) ?>. See readme.txt for further instructions.</p>
        </div>
    </div>
</div>
<?php


}
else

...So the code you had me replace required adding an extra closing bracket... or the calendar install_mod.php is constructed incorrectly to begin with, ...but it worked in the original forum1 installation ;^)

WordPress for punBB ?

Hi koltol,
Although I am fairly new here, and more than likely once the more experienced folks start to repsond you will be receiving better pinters... in the meantime I suggest you seach these forums (at punbb.org and punres.org)  using the word "prefix".  Maybe while you are waiting for the big guns to come walking in, this will help you get a little better prepared (I think its relevant ;^).
Cheers,

Okay Smartys,
Did what you requested.
    Got an error when initially running it for forum2 stating: "Parse error: syntax error, unexpected $end in /pathwayto/install_mod.php on line 113 code" ...which, of course, is the line number following the very last line of install_mod.php.  I think you meant to include a bracket at the end of your code, no?  Well after 'fixing' that...,
     I ran the mod in forum 2 with the same results as previously described.  It simply re-displays the install mod page, with the following as the last portion of the url in the addressbar: "/install_mod.php?foo=bar"  I look in the database and the tables are created/updated for forum1 (did the first install there), but nothing done to forum2.
   I am using the calendar install_mod.php file. Simple enough.
Look forward to your response(s) {and thanks}.
Cheers,

Yes, Smartys, ran the same one each time, in each place.
Tell you what, make your debugging suggestions and I will follow them in my next install situation (probably during the next week, as I am just finishing the forums work of this week, and then got some other business over the weekend).
However, if its something I could try/debug outside of doing a new install, by all means I may get to it sooner.
Fire away.
Cheers,

You should've been able to turn it up.  Check this thread: http://www.punres.org/viewtopic.php?pid=7769#p7769
Cheers,

Thanks for checking Smarty.
Okay, here're your answers...
Each forum was installed into its own directory on the root of the site installation.  Well, actually, I duplicated forum1... here's the setup, and then the procedure I followed:

Setup:
1) www.domain.com/forum1 and www.domain.com/forum2 are the directory pathways.
2) Essentially, when initial installation was 'performed' a unique prefix was selected for each, so for instance, the database is "ourdatabase", and the prefixes for each table-set during installation are each:   this_  and that_
3) So if you log into the database you might observe under "ourdatabase"  "this_bans", "this_categories" etc., for the 1st forum installation tables, and then observe "that_bans", that_categories" etc. for the 2nd froum installation tables.

Installation is all very straightforward, however... 2 UNIQUE THINGS for these installations worthy of note...
Procedure:
4) I exported and then manually edited the database tables for "this_forum", replacing all occurances of "this_" with "that_" and then imported all the "that_forum" tables into the database so I could create an identical setup in forum2 to that of forum1.
5) Rather than running install.php for "forum2", I simply copied all files from forum1 directory into the forum2 directory -- EDITING  the 'prefix' in config.php for "forum2".  NOTE: I kept the cookie the same in case at some point I wish to experiment with sharing database table info between the forums! (I do not know if this might be the snag?)
------------------------------------------
Testing both forums there have been absolutely no flaws or problems.  They function totally independently, and have all the same features as 'the state of forum 1 at the time that I copied it'.

   So now then, I go to install some mods into forum1.  No problem, install, test, troubleshoot if need be.
   When I find a mod is sufficient for the main forum owner's desire/need, I go ahead and install the mod into forum1.
   I do not remember if I am consistently  having the problem described because one or two of the installed items were plugins (which do not require running install_mod.php).  That's why I provided the second consideration for you to check after you blessed the first one as 'okay', because I could actually count on that last one as presenting the problem described, i.e., not installing into forum1 after installing into forum2.

  So it seems that, when I run an install_mod.php on forum2, if afterward I try to run it on forum1 the database 'rejects' it for some reason.  So then I have to go manually recreate the tables and/or the eits to existing tables.

  I think I did not leave anything out.  If there is any other information you require, please ask away.  And thank you, again,  for the time you spend... I see you are the troubleshooting workhorse around here, ...and it doesn't go unnoticed, I am sure.
Cheers,

Hmmm.... okay, just in case that was one of the ones that actually happened to work, here's another (would you mind looking?)...
...for sure, this one had the same problem as several others (since its the last one I am working on it is fresh in my feeble little peanut-haid...)
PBB Gallery 2.0Beta, found here: http://xumix.fanstvo.com/PBB_gallery_2.0Beta_mod.zip
Cheers,

Thanks Smarty...
Global Announcements was one (there are several, I will list if you wish).
http://punbb.org/forums/viewtopic.php?id=6782

Cheers,

Thanks for replying, Steve.
Yes, I put the install_mod.php in the root directory of each forum install.
No, not trying to run from same location, and no, base urls are unique.

Each forum is installed into a separate, i.e. its own, directory, and each forum is running just fine.
One is the 'real' forum, while the other is where I test installations.  If they work and the forum 'proprietor' likes it, I install it for them.

I am thinking, maybe certain install_mod.php coders forget to take into account the possibility of a shared database when they write these, so unique prefixes, or something, are not always allowing for correct functionality in some mods???  I would have to better understand how the install mod code works in order to study and identify that issue. 

Where would I look for instructions on creating a mod and taking into account shared databases using individuated prefixes?  I am thinking maybe I can correct these mods manually in short order when I run into this (?).  (I don't freaking have a clue really.)
Cheers,

Hi Folks,
I have been installing some mods into 2 forums sharing a database.
They each have prefixes (from installation time).

After I run an install_mod.php to one of them I cannot run it on the other one.
The resulting page is always:
- url = http://ww.domain.com/install_mod.php?foo=bar
- page = the same one I came from where I clicked "install".

Of course, I can read the install_mod.php file and then go in to phpmyadmin and manually add the records for the other tables... but what a pain!

Why am I having this problem and what do I do to work around it... without so much work, of course \^P

Cheers,

169

(27 replies, posted in PunBB 1.2 troubleshooting)

If what Michael is suggesting actually works, i.e. adding some custom fields... I mean if its that easy to thwart spam-bots then why isn't that standard?
  Standard meaning, building into the forum registration the ability for the forum host to create, say, 3 custom fields that can be configured with anything they want, or whatever.
   Or do spam-bots have some sort of built in learning that renders this inviable?
Cheers,

170

(13 replies, posted in General discussion)

That's funny.  Thank you, elBekko.
What I thought it had to do with was, well I went to iatbm's site link there and at the top is this interesting 'bar' that says 'welcome guest login|register' ...and well I thought, hmmm... maybe if I was logged in I would have some menu's available for me in this 'bar' that do not have to do with global stuff on the site, but somehow to do with me as a 'user'. 
   Thus, being different from the global menu's, i.e. being user-targetted somehow, I thought... I wonder if that's the deal, and just what are these guys up to anyway?!

Hence, 'that's funny'.  However, I dunno.. maybe something like this has a reason to exist, and/or already does?
Cheers,

171

(13 replies, posted in General discussion)

I found this topic while searching something else.
Now, because I really do not understand what a userbar is, what it is capablel of, how to use or install one...
I searched both forums (bb+res) but this is about it, so if you see this could you please enlighten me some?
Thanks,
TwoHawks

172

(29 replies, posted in PunBB 1.2 show off)

Sweet Looking forum, pog!  Simple, elegant... I do not typically look at 'show off' stuff, but this came up in a search and I am glad I saw it - lets me know there's so much more that can happen with punbb that it's just ridiculous.
Thank you for sharing.
Cheers,

Okay, I just installed this so I could see just what the heck it is and does, because I could not find a decent explanation (when you guys make these things could you describe them just a little more please?!)
So I am writing this so maybe this will help someone else who doesn't want to have to guess as I have.

   What this does is it adds a section to Options:Administration where the admin can type a message into a form having fields for 1) Topic and 2) Message.
   After submission, a topic-post with an entitlement "Announcement: your subject" will appear at the very top of each and every forum (thus 'global') on your board... except you will not see this announcement on the front page!  It only appears in forums you enter.
   If you submit more than one Announcement, they list by date-order, but always at the top of the list of topics in all the forums.
   Global Announcements otherwise behave just like any other topic that users may post in (thus discussing the announcement.
   There is no administrative management for the announcements in the Options:Admin section... you can only post them from there.  The admin may delete or edit the global announcement from any point of entry through a forum (i.e., go into the announcement topic and edit/delete from there).

   I find this to be a very intersting plugin.  I installed it with no problem into 1.2.12 after editing the install_mod.php for the version number, and then running through the readme's carefully before beginning.  Installation was straightforward, and the resutls are solid... I observe no interference with other mods I have or anything like that.
   Although I think this mod could use some improvement, its an interesting idea, and I am sure anyone with a little php knowledge could make it do some other things.
   I hope I have described this little mod appropriately enough to give a better basic understanding about it.  See, when you got a boob, I mean a noob ...like me around, you might apreciate what might not be readily apparent to others who aren't so familiar with all this forum-tech! '8^O

Thank you Caleb.  I hope you are not insulted by the intention of this post (stated in the beginning).  I felt this was needed, and I hope others may benefit.

Cheers,

@binjured,
Thanks for the effort. 
Neeed to follow  i++ with a ;
Code should be corrected to
i++;

Now I'm going to try it out ;^)
Cheers,

175

(68 replies, posted in PunBB 1.2 discussion)

Hmmm..  I have to admit I am unfamiliar with akismet and had not really read up on it at all until you just brought it up again (my bad - I am only loosely keeping up with newer anti-spam tech at best... you just get a bit jaded...). 

Its a bit late right now, but I believe I witnessed a 'fond' post from Richard at punres with regard to Per Soderlind's akismet mod he is working on.   Akismet integration with a mod like this sounds pretty cool, to be sure, but people are still having some issues with it... need to get a leash on that automation yet (but it sure sounds promising)...

Regarding your actual question, after (getting bonked on the head and then) reading some about it I would have to admit the relevance (if indeed it is functioning with that virtual 'hive mind'-edness as you sort of put it); albeit then... the differences would (obviously) be (from what I could briely gather):
1) - akismet is (still) automated, and so it still requires regular human oversight anyway (but admittedly not a lot, as you and others interestingly keep pointing out),
2) - it relies on yet another spam-server of sorts basically, really,
3) - as well, what you point out in your comments (in post 53 above) regarding "controlling user registrations", 
...well it seems neither of these methods (live human or akismet) can really handle that right now...

   But I have to thank you for bringing my attention to this (again)... I bet between the two, akismet might have the upperhand to potentially be dealing with bogus sign ups, and that would really be something (but at what point do you arrive at being able to rely on that?  ;^)
   AND it is interesting, the way in which your, and others who are using akismet, comments I read are expressing their 'unique' pleasure with the product.

   After looking at it I still think there may be a value (viability worth testing) in a mod for punbb (or any forum) to allow a real-human collaborative system (internally) which does not rely on any automated system or other servers or more server overhead.  I wouldn't go so far as to argue one over the other mind you... I am only trying to look at the real similarities and difference, and saying I wonder if it may still be an unknown worth validating (just as askimet seems to be)?

Cheers,