UBB.Dev
Posted By: JustDave Integrated Index Page (IIP) 5.1.1 - 09/25/2002 1:28 AM
Integrated Index Page (IIP) 5.1.1

Q: What is it?
A: It's an addon for UBB.threads 6.1 and UBB.threads 6.1.1 that will pull various information out of the forum for display as your main home page.

Q: What are the features?
A: The following information is displayed:

1. News Display - A configurable number of news/article posts and from different boards can be displayed down the center in the same fassion as the popular *nuke portals. Past news/articles can also be displayed along the right hand column (only).
note: the options to turn off who posted the article and the article date have been added back to the configure panel.

2. Current Poll - This will display the most recent poll posted or may be set to pull a random poll out of the forum. This can be set to use a specific board also. Results will be displayed if the viewer has already voted for the poll. (based on username or ip address)

3. Top Rated Posts - This will display a list of X number of top rated posts in the past 24 hours.

4. Current Threads - This will display a list of new threads posted in the past 24 hours.

5. Top Posters - This will display a list of the top X number of posters.

6. Last Seen - This will display a list of members who have visited the forum most recently. This is not completely accurate because depending on what they are doing at the site their 'laston' information isn't always recorded.

7. Short Stats - This will display various statistical information such as Total Users, Total Posts and New Users in the last 24hrs, 7days, 31 days.
Short Stats will also display "max online" information including how many and when.

8. Profile Spotlight - This will display a random profile listing username, location, hobbies and bio with a link to the full profile.
Username has replaced Name (real name) in previous versions.

9. Quick Search - This will display a seach box that will allow for a quick search of the forums using the standard search default values.

10. Login/Status - This will display a login box or your current status including the number of private messages stored and links to edit your profile and display properties and email subscripitons. Unregistered or users not logged in will see the login box. Logged in users will see their status box.

11. Online - This box displays the number of registered and unregistered users online in the last 10 minutes. It will also list the usernames of the registered users.
You can set a maximum number of names to display and once that limit is reached a link to the "Who's Online" page will be included so users can view the full list.

12. Hot Topic - When a post reaches X number of replies it is displayed in this box with a flaming .gif

13. Menu - This box has various links to other features of IIP.

14. View More Polls - This generates a list of X number of poll posts per page with links to the post and board.

15. File Attachments - This generates a list of X number of file attachments per page. There are also sorting options to display only the files specified such as .txt or .zip files.
An attachment specific search feature has been added allowing the search for specific words or from specific boards.

16. New Member - This will display a message welcoming the most recent member. This will only be displayed for X number of days.

17. Member Sites - This will display a list of X number of members and their home page links. Only those with this field filled in in their profile will be displayed.

18. Recommend Us - This will display a short form for visitors to fill out and recommend the site to their friends.
Mail sent includes an updated header to ensure acceptance by your host. This header includes using the sender's name and email in the "from" section. When the email is recieved by the recipient the sender's name appears in the "from" area and not their email address. (hope that made sense)

18. Call Us Home - IE specific, will not (or should not) display for browsers other than IE. This will allow visitors to set the site as their home page.

19. Add to Favorites - IE specific, will not (and again should not) display for browsers other than IE. This will allow visitors to add the site to their favorites folder. Netscape users will see the "Press CNTRL-D to Bookmark" notice.

20. Shout Box - This displays "shouts" (quick, small postings) from guests or members in the order they were made. Admins can easily delete shouts that are offensive. The shout box does use the .threads nickname/language filters also to suppress such postings.

21. Profile Index - This displays members profiles in a sorted list. The profiles are searchable. Boolean (AND, OR, NOT) and wildcard * searches are allowed. This makes finding specific members easier than ever.

22. Cache Table - Information can be automaticly stored and updated in intervals to increase page generation times. Depending on setup, this can cut the number of queries used to generate a page by as much as 50% and large sites will see a considerable speed increase with generation times.

23. Configure Panel - IIP settings can be controlled via browser and allow for easy setup and managment of the features listed above.

24. Standards Compliant - IIP is XHTML 1.0 Transitional compliant and should render well in standards compliant browsers. This basicly means that the display should look the same from one standards compliant browser to the next.



New Features:

25. Template based "table wrappers" added to allow for easy customized design of pal boxes. A wrapper for AllenAyres' port of the Blam Ice templates by Bookie for .classic has been included in the wrapper template. More can be created, just follow the same layout as the ones listed in the template.

26. Custom pal boxes have been added. You can edit the boxes and include what ever content and code you want to display and then manage their placement and display from IIP's configure panel.


Notes:

Information displayed is based on group access. If the viewer doesn't have access to your "staff" board IIP will not pull information from that board to generate the display. Larger sites can use the option "force public" to make IIP display only public viewable information which allows for more of IIP's features to use cache to speed page generation times up.

The more features you use the longer it takes to generate the page. If you don't need or want a specific feature, turn it off.

As the size of a database grows, the speed of the pages generated decreases. It's that simple. There are some things that have been done to help IIP's page generation times for this version and some that haven't. These include creating various table idexes and simplifying queries.

As time goes on, IIP gets better.

Instructions:

Download the attached file and unzip to a location of your choice. Follow the instructions (SETUP.txt) located inside the "pals" folder that was contained in the zip file. Since this is a switch to a partially templated system most all files have been changed. Also, pay close attention to the "news" configure box section of the configure panel as there will be some blanks that need a 1 or a 0. I have also noted this in the SETUP.txt file as well.


[:"red"]Note: IIP's versioin check has been updated to allow it to work with UBB.threads 6.1 and 6.1.1[/]

Enjoy!


[:"blue"]
=================================================
This is new but I guess it's a good idea for me to start documenting any changes
I make so everyone knows what needs to be uploaded when I fix something.. lol

=====================================
Sunday, November 10, 2002:

Modified newspal.php to include the posting options at the bottom of each news post when
"force public" is in use. These options may or may not work depending on the viewer's access
when they try and use them such as making a reply to a news post.

Files modified: newspal.php

=====================================
Saturday, November 16, 2002:

Fixed a bug in profilepal.php which caused the "alt" for user's pictures to contain
the highlighted username. Thanks Gardener for finding that.

Modified newspal.php to include a "View" link with the other post options and information
located at the bottom of each news post. This was suggested by Brewskie and 2nd by Gardener.
Personally I thought the link in the title/subject was enough but hey I'm just one person... lol

Files modified: profilepal.php, newspal.php, languagepal.php

=====================================
Saturday, November 16, 2002, (later):

Fixed a bug that would cause board titles to not be displayed on forums that where group
specific when viewing a list of polls. Thanks goes to Gardener for finding this one.

Added a modified profilepal.php script and languagepal.php script provided by Gardener. He has moved
the text from profilepal into the language file. Thanks bunches on that one.

Files modified: polllistpal.php, profilepal.php, languagepal.php

=====================================
Sunday, November 17, 2002

Fixed a bug that may throw Short Stats off in the user count if your site is aproving new signups.

Files modified: index.php


[/]




Attached File
55655-55655-IIP.5.1.1.zip  (446 downloads)
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
updated here... when I submitted the settings, it sent me to your test site What did I miss, or is this a clever advertising program for you?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ack! lol hmmmm let me look...


LoL and I might be clever at times... but not that clever... LoL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Strange... when you posted the settings from the configure panel it took you to the test site?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Just a thought... did you accidently upload configpal.php over your old one? In the setup instructions I stated to leave that file and the images/folder out.

Was that what happened? LoL I don't want anyone getting upset about being redirected to some site they haven't heard of... LoL
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I did, but I had reset the paths before doing so... I think there was only one line at the top.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I was forgetting to change the index page url setting
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
hehe kinda thought that may have been it... I couldn't find anything when looking things over...
Posted By: AllenAyres (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
http://validator.w3.org/check?uri=h...tect+automatically%29&doctype=Inline

pretty close
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
Ack! LoL I didn't have anything "hot" at my test site... LoL

I'll fix that and ammend the zip file. There shouldn't be to much to do though. The bulk was gone over
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
I need to start testing things on a test site that gets used by people other than myself... LoL
Posted By: AllenAyres Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
hehe
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
I don't know what could be causing the illegal character in the title though... IIP doesn't modify the title any longer...

Any ideas?
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
Ok all fixed with the exception of lines 10 and 252 which is part of the .threads package. I'll update the zip file. (was only 2 changes to two files) I am so glad it wasn't more.. lol

I also went in circles for a bit because I forget that information is being cached... LoL

I dont know if I mentioned it but cache can be refreshed by adding ?RefCache=1 to your url... or &RefCache=1 if other variables are present
Posted By: AllenAyres Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
I posted the title buglet on the beta forum
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
There was the actual "trade mark" control character in the ubbt_header.tmpl and ubbt_footer.tmpl files instead of ™

It's all validating now.

http://validator.w3.org/check?uri=https://www.ubbdev.com/index.php
Posted By: voidvoid Excellent...but more cms like pleeeease... - 09/25/2002 1:28 AM
All we need now is an real article section like the one from siteworkspro, where you can have:

1. Articles on the same topics as the forums topics. Also an automatic link to the forum in question when you read the article.
2. An article type like review, comment, rant, or whatever.
3. Multiple pages...each with a name/headline that is presented with a legend when you read them.
4. Permissions based on the existing users where author is a new user property.
5. See articles pr. user, pr. forum topic or pr. article type, etc.

I would PAY for this to get integrated into the PAL. What does it take? 100$? 200$? 500$? What?
Come on guys...they are brewing a CMS over at www.vbulletin.com Dont go all portal now

Rgds,
Tim
There will be an article/review section in IIP 6.0 but you can send me money just the same. LoL
Publish the 6.0 and I send you the 500$ pr. paypal right now!

Really !

Tim
I do so wish I was ready to be able to do that... LoL



Ok, this is what will be in 6.0 before I release it:

Calendaring system, based on a per forum basis. This uses a seperate dedicated table for all event storage. I need to work on getting this blended in better with .threads but it's getting there.

Birthday tracking in conjunction with copa age check at signup and profile configurable. (birthdays and other events listed on the calendar and in the upcoming events box) I haven't tackled this yet but I have a basic idea of how to go about it so it shouldn't be to bad.

Web Ring, just because one day it seemed so simple a thing to do so I did.

News Feed, allow others to place some javascript code on their sites that will display your news or current post subjects from a specified board. (another fairly straight forward feature I did just because it was easy)

Topic Icons, this was requested a long time back by Wraith and I do agree it adds a nice touch to news/review postings. (this one HAS to go in this time, it's related to a few other things) I just need to kill a full day or two and do this.

Picture Posts, this is a type of photo album or what not. You can browse pictures that have been posted, in a thumbnail layout, or switch to the large view and view them one by one, they can be searched, you can see what you rated the picture post or enter a rating if you haven't already, and read replies to the picture post. (when in full view) I haven't done anything to allow admins to create actual resized thumbnail images but I will try and get it in there for this version.

Articles/Reviews section, with specific markup code that allows such things as multiple pages per article/review. I have know what this should do and look like but haven't done anything with it. It's actualy towards the end of the list... lol sorry



As it stands right now I'm only about 30% done with 6.0 and really debated on releasing anything new prior to it as I didn't want to spend time on anything else. But it's kind of good though too. I didn't like calling the next version 5.0 because it has changed a lot compared to how 5.0 and earlier versions are setup. I'm also looking forward to 6.0 myself because I will be using this on my own website. (kinda nice to use something I'm creating) LoL

On a side note, I have seen http://www.phpportals.com and it wont be long before there is nothing they have that IIP doesn't.
gimme!
Neat But i'll be satisfied with the article features of www.siteworkspro.com (And I would disable the calender features in an instant)

[]On a side note, I have seen http://www.phpportals.com and it wont be long before there is nothing they have that IIP doesn't.


Thats what I'm afraid of...They are themselfes going the CMS way. A lot of the community talk on vbulletin is that they are tired of the portal-nuke thing. The vbulletin team has since long identified this need for a cms and how this will make some more money. The forum part is nice. But a site also needs a static part that gives it an identity and something to talk about in the first place. Not all wants to be drawn into a debate or read an interesting article in the extensive point'n'clik enviroment (the equivalent of booting your computer to get the time).

To some extend, this is what makes siteworkspro so interessting. Non-php coders dont want big, clumsy and hard to set up cms systems. They want some "shelf-ware" with the abillity to differentiate themselves with a new skin. I've purchased siteworkspro but I'm afraid to but it to any use since, the company behind seems more focused on making some quick bucks than running a company. The supportforums has been pulled, one has to beg for updates alreay been paid for, etc.

Oh well...sooner or later...we the php-challenged...will hopefully be able to buy something that fits our needs. I know at least one could-be supplier with a sturdy community. The bad thing is that ubbt is not likely to be the best match

Posted By: JustDave IIP 5.0 update - 09/25/2002 1:28 AM
I just noticed I didn't have a "no sticky" option in for Hot Topic, Top Rated Posts and Top Threads.

I have updated the 5.0 zip file located in the main post above to include the needed changes. The files affected are:

hottopicpal.php
topratedpostspal.php
topthreadspal.php
editconfigpal.php
doeditconfigpal.php

Just download the zip and upload the changed files and go to IIP's configure panel and set the variables to your desired value. There will be 3 of them.


Allen, I updated here already.

~Dave
Posted By: AllenAyres Re: IIP 5.0 update - 09/25/2002 1:28 AM
grazi
Posted By: AllenAyres Re: IIP 5.0 update - 09/25/2002 1:28 AM
I added a link here at the bottom of the page to assist with future xhtml debugging
Posted By: JustDave Re: IIP 5.0 update - 09/25/2002 1:28 AM
Cool, great idea. There will be more. LoL
Posted By: msula Re: IIP 5.0 update - 09/25/2002 1:28 AM
Aww, I just installed 5.0 a few hours ago, now I have to do it again!! haha, j/k. Great work dave!
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]No this doesn't work with Cats completely. I really didn't spend much time on fixing 4.3's Cat issues for this release. In the next version I have already gone through every link and made sure the Cat is being passed.


Almost dreading asking this question but.... are the cat's being passed in ver 5, as they do not appear to be on here?

Sorry for sounding a pain, as the only one who is using cats


Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
No, this is still basicly the old 4.3 code and I spent waaaaaaaaaaayy to much time on it... lol I actually found myself with a bunch of spare time this last week and half and putting pieces parts together of the files I have laying around took up much of it.. I think I would be well over half done with this next version if I had just burried myself in that... lol


Now I'm trying not to touch 5.0 as much as possible. (and it's not easy) LoL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ok I believe I have all Cat's placed where they need to be. Let me know otherwise. Thanks.


I main 5.0 zip has been updated. Replace all files except these:

configpal.php
doeditconfigpal.php
editconfigpal.php


Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
cool... now onto v6
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks Dave,

I really appreciate it. I will check it out.

BTW - the index.php still says version 4.6

Ian

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks, I'll get that changed.. I kept thinking I had missed one... lol
Posted By: JustDave IIP 5.0 + UBB.threads 6.0.x - 09/25/2002 1:28 AM
I have gotten a few pm's asking about how to use IIP 5.0 with UBB.threads 6.0.x so I added instructions to this thread's main post to explain it. Those that want to use IIP 5.0 but also want to wait for UBB.threads 6.1 stable can start using it now.

I don't think I forgot anything but just in case I did let me know so I can append the instructions. Thanks.
Posted By: oceanwest Re: IIP 5.0 + UBB.threads 6.0.x - 09/25/2002 1:28 AM
What is the sql command to drop the fields?
Posted By: JustDave Re: IIP 5.0 + UBB.threads 6.0.x - 09/25/2002 1:28 AM
ALTER TABLE w3t_Posts DROP B_FileCounter
Posted By: oceanwest Re: IIP 5.0 + UBB.threads 6.0.x - 09/25/2002 1:28 AM
What should the permissions be on the pals folder and it's contents and the index.php?
Posted By: JustDave Re: IIP 5.0 + UBB.threads 6.0.x - 09/25/2002 1:28 AM
configpal.php needs chmod 666 or chmod 664 to allow for online editing.
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by JustDave:
Ok I believe I have all Cat's placed where they need to be. Let me know otherwise. Thanks.


I main 5.0 zip has been updated. Replace all files except these:

configpal.php
doeditconfigpal.php
editconfigpal.php





Dave,

The Top 10 rated Posts, Current threads, and Top 10 posters seem to loose the cats when clicked upon.

Also something strange is happening with the Cat links on the main body threads. For example if you go to https://www.ubbdev.com/index.php?Cat=1,5 initially the three main posts in the middle were not passing the Cat information, then after a refresh they did - so anyway I went to https://www.ubbdev.com/index.php?Cat=1,4 and the three posts still linked to Cat=1,5 even after a CTRL + refresh (Using IE 5.5.on Win2000)

Sorry to be a burden on this.

Ian
Posted By: Aglavalin Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
<Jumps up and down while waiting for InfoPop to release 6.1 so he can then install IIP 5.0!>

hehe
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
You'll have to disable cache.


I just checked the scripts you mentioned. They all are passing categories. It has to be that your caching the information.

Set cache times to 0 to turn them off.

Oh, also forgot, set "force public" to 0 because otherwise it clears the Cat variable when generating IIP pages.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Would be cool if the members could select what "category" their website fit in when they input their website name, that would allow these :
https://www.ubbdev.com/index.php?Cat=&paction=membersites

to be able to look like these: https://ubbdev.com/links/
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I have always thought there should be "more" to the member's sites page and this will be very doable once I get the link directory I am using on my main site cleaned up and smoothed out for IIP use. What is needed is a category table and an additional 2 fields in the w3t_Users table to store a link "title" and the category it belongs to. Then when displaying the member's sites you could draw in the categories from the link directory and break it down that way.

The link directory is something I *have* to have for my main site so I may well put this feature before a few others for 6.0's release.
Posted By: webwolfe_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Profile index page
the Add to Address Book and
Show all posts buttons are broke, member pics arent showing (on my site, looks ok here?), and in the 2nd column the Extra2 field isnt showing the name, it says "Extra 2"

Quickest version so far.. I was able to add a couple extra pals to my page without increasing the load time.

Thanks again for this excellent mod!

If I were you I would at least make a link available in your profile or something that points to a PayPal box where (if people wanted) they could donate a lil bit just to say thanks or something. Maybe no one will donate, maybe so... But we definitely wont if you dont give us a way to...

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks for the tip. I'll look that script over again.
Posted By: webwolfe_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
so many features in one mod!

I was curious about how you see this mod used by the majority of ubbt owners.. Do you expect most of them will use this as their root level home page?

If so, it should be called Home, not Entrance...

If its used as an entrance, as it says, then how about adding the choice to use the entrance as my start page when logging in..

I thought a lot about how I could best integrate this mod into my site and I personally would much rather have almost every one of these individual pals available to me for use throughout my site, not just on the entrance page by using includes in my header.tmpl. For instance:

- using the login pal on every page...
- using the topthreads pal on the postlist page for forum2 only (by putting the pal in a custom header for instance)
- using the pollpal on every page
- using the profilepal on every page

I was just curious how you envisioned it being used.. Because I mean you have a lot of configuration on how the page itself can be displayed, but If I personnally were going to use this as MY home page, there would be a LOT of things I would like to change. Maybe that's just me

I would like to recommend that you pretend you have never been to a message board before and then take a good look at ubbthreads.com's home page (iip)

Hitting this page truthfully confused me the first time I saw it.. There is no logical flow to it..Among other things, to use it as my home page I need a big "Welcome to my site! This is what we do... Click here to enter the forums and look around"

As a first time visitor I have felt almost bombarded with with stats and information and polls and top posters from a whole web site I dont know even the basics about yet..

Clicking on any link on the pages puts everywhere but the Main Index.. Wouldnt the logical flow be from Entrance to Main Index to A Category or forum to a thread? IIP now throws you from Entrance to thread, leaving you to learn to navigate out or click back to return to the Entrance

The link to the Main Index (I think) should be the biggest link on the page.. Newbies need direction, the other members know to look for the itty bitty "Main Index" link at the top of the page and/or they understand what all the stats/info on the index page mean, and they use your mod as it was intended.

-----------




Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ok... here goes...

posted by webwolfe:

I was curious about how you see this mod used by the majority of ubbt owners.. Do you expect most of them will use this as their root level home page?

If so, it should be called Home, not Entrance...



I actually have no idea how most users use this. I just know how I want to use it. LoL but, they can rename the language file entry to what ever they want so it's just a matter of preference, I guess. One of the things that kept me from calling it "Home" was that it wasn't always used as the "main" index page on a site but sometimes as a secondary index within the forum area. But then again it's changeable to what ever the admin wants.


posted by webwolfe:

If its used as an entrance, as it says, then how about adding the choice to use the entrance as my start page when logging in..



This has been done before as far as making modifications to .threads to allow for such a thing. It's a more involved hacking job to make it so but it's not that bad. I had ran into a bug with my test site (older version) where I could not view "my home" because it always took me back to the entrance. I can't remember what the problem was but I had to use phpmyadmin to fix it.


posted by webwolfe:

I thought a lot about how I could best integrate this mod into my site and I personally would much rather have almost every one of these individual pals available to me for use throughout my site, not just on the entrance page by using includes in my header.tmpl. For instance:

- using the login pal on every page...
- using the topthreads pal on the postlist page for forum2 only (by putting the pal in a custom header for instance)
- using the pollpal on every page
- using the profilepal on every page



I have done used almost every pal in this manor on my 6.0 test site. Now that I'm using templates you can wrap a .threads template call with IIP's and have IIP's information available. I mentioned this somewhere around here already though. It takes like 3 or 4 lines of new code per .threads page to do this.


posted by webwolfe:

I would like to recommend that you pretend you have never been to a message board before and then take a good look at ubbthreads.com's home page (iip)

Hitting this page truthfully confused me the first time I saw it.. There is no logical flow to it..Among other things, to use it as my home page I need a big "Welcome to my site! This is what we do... Click here to enter the forums and look around"



I guess I didn't think it was any worse than to walk into a *nuke site. An admin doesn't have to use all of IIP's boxes though. IIP 5.0's index page can be edited to include such a "welcome box". With 6.0's template layout I have placed a great BIG honking welcome box in the middle of the page... LoL of course since it's a template it's removeable or whatnot.


posted by webwolfe:

As a first time visitor I have felt almost bombarded with with stats and information and polls and top posters from a whole web site I dont know even the basics about yet..



Again this is a matter of prefference. An admin doesn't have to use every IIP box on their index page.


posted by webwolfe:

Clicking on any link on the pages puts everywhere but the Main Index.. Wouldnt the logical flow be from Entrance to Main Index to A Category or forum to a thread? IIP now throws you from Entrance to thread, leaving you to learn to navigate out or click back to return to the Entrance



Should this content have misleading links that all end up going directly to the main index or category list instead of what they actually are refering to? I guess I see no point in providing links to anything if they all go to the main index. Why not just have one big link centered on the page that says "click here" to simplify things?


posted by webwolfe:

The link to the Main Index (I think) should be the biggest link on the page.. Newbies need direction, the other members know to look for the itty bitty "Main Index" link at the top of the page and/or they understand what all the stats/info on the index page mean, and they use your mod as it was intended.



This is completely controllable by the site's admin. They can edit the navigational templates and modify it to how want it to look. One could even wrap this link with the "standouttext" class so it's more visible yet controlable by the style sheets.






To sum things up as far as how I view IIP it's pretty simple. About 2 years ago I would have paid someone to write the things I'm creating now for my website then. Of course I couldn't afford to do that so I muddled through. Two years later I still can't afford to pay someone to do the things I'm creating for myself for my website but I am muddling through a little bit better so it's not that bad. I'm glad too that others are using this and providing feedback and helping find the errors and whatnot as it helps greatly. I do listen to suggestions and requests and try to work things in when possible but it's not always easily done. Some of the these more difficult requests require modifying .threads much more than I care to get into with for fear of how much explaining it will take when things don't work. At this point I think 5.0 needs very little modification to be done on .threads to work. Unfortunately the features of 6.0 will require more .threads modifying to work but I guess it should be expected. In the end I just hope this helps those that are at where I was 2 years ago start off not having to muddle as much as I did... LoL
Posted By: webwolfe_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I really dont mean to criticize your work. You are (to me) on a neverending journey of ending one version of IIP to begin the next.

If I can reply now and get you thinking from a perspective you didnt consider before I feel we all benefit in the long run.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Your last post sidetracked me but I remembered what it was I was going to post... lol

I updated profilepal.php. The links "Edit this member", "Add to address", "Send private message" and "show all posts" seem to be working here now. The new file is in this main post's IIP 5.0 attachment.

I have never used the "add to address" feature and it wasn't clear that it had actually added the name. When I clicked on it it displayes the profile of that user. I think the whole "add to address" thing should go to the users's actual address book listing instead.

Edit note: make that the post before your last post... lol
Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Okay - maybe I'm a dolt - but - I'm running UBBThreads6.1br, have followed the simple instructions for the 5.0 IPP and when I open index.php in my browser window I get a ubb screen that says:

Index Closed

We are currently updating this page.

and the additional copyright info I'm supposed to click on for the config page and no link.

?

Thanks

BD

Glen Lachart Scotland
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
hehe well actually the journey I'm on is to get my main website updated before 2003. I have been spending to little time on it and have a huge list of things that need to be done. *sigh*
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Are you logged in and an administrator of the site? I believe you should see the link if so. I'll check the index page once more to make sure I didn't forget anything to make sure.
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Dave,

Just installed this - as you know I am never straightfoward

Would it be easy to allow for the pals folder to be in a different directory to threads?

I have got it working, by altering several links in several pals, but there is probably a quicker way

If not do not worry - I will edit manually.

Ian
Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yes. Well I CAN log in as admin and get my admin options for UBBT6.1br - then I can either open a new browser window and open index.php which I've put in "the desired location" which happens to be the site root www.GlenLachart.co.uk/index.php and I get the same thing - no soap. Does the index.php file need to be somewhere besides the root?
Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
This is what I get at the bottom of the page:

UBB.threads™ 6.1b1
.: IIP 5.0 by David Lozier ©2002 :.
no link
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]Yes. Well I CAN log in as admin and get my admin options for UBBT6.1br - then I can either open a new browser window and open index.php which I've put in "the desired location" which happens to be the site root www.GlenLachart.co.uk/index.php and I get the same thing - no soap. Does the index.php file need to be somewhere besides the root?


I was also missing the link - maybe it doesn't ike the British

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Actually no there is no easy way. I did away with about 9 "options" (paths/urls) to simplify setup. That's why the instructions say to place it in your .threads directory and not move anything. This cut down on alot of "why this" and "that dont" lol
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Are your cookies set site wide? If not then the page doesn't recognize your admin auth.

I forgot to add that check in there as this happens *alot*.

I'll bet your cookies are not site wide.

And I'll also be putting in a check right now. LoL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ack... guess I didn't put that into the "setup" text file. I have changed the setup instructions as follows:

Step 4.

If your placing the index.php page outside of your .threads install directory you will need
to make your cookies "site wide" so that the index page can authenticate the viewer. The next
step will not work unless you have done this step. In the .threads config.inc.php file find this:

$config['cookiepath'] = "";

to this:

$config['cookiepath'] = "/";



Step 5.

Load the index page into your browser and click on the IIP copyright link at the bottom
of the page to access the configure panel. Follow all steps in the "INITIAL SETUP"
box and set the other box values as desired.





Sorry about that...
Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
ah ha, Okay now after scrolling thru the UBBT config settings where do i set cookies "site wide"? Doesn't seem to be an option in there for that
Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
okay I'm an idjit - found it
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Webwolfe,

I personally think IIP is the greatest thing going since sliced bread. I personally chant "JustDave" each evening when visiting my site and thank my stars for all the awesome mods of his I use there.

I think IIP can be used as a home page to a site... but I agree.. it can be confusing out of the box.

If people find your site's home page (IIP) and don't know what it is about or how it works... IIP won't help them.

But, with minimal modification to IIP you can "work with it" and add the needed information to it.

The first thing I did Is create a forum to put stuff that I want on the home page, and set it up as the first "news" forum for it to pull from. I turned the HTML on, and turned off pictures and dates etc... for it.

If you look at my home page... www.measurection.com

The first post I've got "stuck" there.. is a post explaining what the site is about.... and in our case... while it's not porn... we do have adult topic discussions, so my warning goes there.

Below it we rotate in a banner.... it's simply a post with a HTML banner in it, and the other Admin changes those from time to time by hand.

Below that, I've got a rather large sticky post where I paste comments and testimonials I receive from our users. How they feel better, how our site has changed their lives... that type of thing.

So that the new visitor can get a vibe for what our site is, simply by reading down the cneter column of the home page.

Below that, we've got another ad.... then I pull in the begining of my latest "how to" post for the site... then below that, we recap the 5 most recent posts in our main forum. These change by the minute and thus the front page keeps changing.

Custom Pals
I've also created a few "generic" pal boxes.. where I have placed throughout the page some Amazon.com Product Links. These generate a little revenue and add some interesting graphics to the front page.

The Menu
I've modified the menu a bit, to offer a direct link to our photo galleries (a pay service) and another link 'Browse our Forums' which take them to the ubbthreads.php index page. Just another way "in" if they are confused about what to click or where to go.


In another site that I set up... one that is not nearly as active and does not use IIP for it's home page, I tweaked IIP a bit as well.

View: http://www.atlantasingleschoir.com/messageboard/

You'll note in the first post I've got "stuck" to the top right (I use only 2 columns here)... I've made links to certain forums... and important posts. These were just simple links, made in a post using UBB code... very simple and no "deep" modifications to the PHP.


These suggestions may not work for anybody but me... but in my opinion, they are little things which help if you were trying to use IIP as a "home page".

On the measurection site, since the begining, it was just a splash page... with a warning and an Enter / Exit button before you got to threads. So new users find it much more "interesting" as it's always changing... making us look "happening" and active.

We even have a member who is totally blind. He relies totally on screen reading software. He has to tab line by line, box by box, and graphic by graphic and listen to what it is. Yet he has only been there a few months and has like 300 posts... so he's pretty active. He relies heavily on the "Current" and "Most Recent" pals... as otherwise he can't tell what's new until he get's email subscriptions for each forum which his software can read to him.
But he knows to get to the home page... and look at (or listen to) the current and most recent threads, and he can actively participate in the discussions, without having to wait for the subscriptions to go out.
BTW - Just an aside.. this man has far less technical issues and questions than a majority of our full-sighted members.

Just my 4 1/2 cents on IIP.

Keep up the great work Dave!!!!!!
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]I'll bet your cookies are not site wide.


You lost you bet LOL

Mind you I just realised that I know why I did not have the link - and this will affect some of the older threads installations around (ie pre IP days)



Posted By: Kerouac Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Bingo - got it - Thanks
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Your welcome

And thanks for finding that missing step
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by JustDave:
Actually no there is no easy way. I did away with about 9 "options" (paths/urls) to simplify setup. That's why the instructions say to place it in your .threads directory and not move anything. This cut down on alot of "why this" and "that dont" lol


Oh well - never mind - just means that I will have to edit it for each install - why didn't I choose a straight foward forum to run
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
lol yes I would say your forum setup could easily be considered as "not straight forward".
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Sorry[]lol yes I would say your forum setup could easily be considered as "not straight forward".



Sorry - must remember not to use a feature of the software that no one else uses
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Don't take that the wrong way... I just have to wonder if ther are any other sites out there with 150+ categories... eeek! LoL

That has to be a nightmare managing...
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by canvey:
posted by JustDave:

I'll bet your cookies are not site wide.


You lost you bet LOL

Mind you I just realised that I know why I did not have the link - and this will affect some of the older threads installations around (ie pre IP days)







hehe ok guess I owe you a free IIP 6.0 upgrade when it's out.


ohhhh ohhhh, quoting a quote don't look so good... had to modify the post to add the inner quote start tag...
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks Josh

It's good to hear IIP's added to your site. I was wondering, is there anything that could be done that would make your blind member's browsing easier? Now that IIP is XHTML 1.0 transitional compliant it should help.

Let me know if there is and I will keep it in mind when working on things.
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]Don't take that the wrong way... I just have to wonder if ther are any other sites out there with 150+ categories... eeek! LoL

That has to be a nightmare managing...


250 almost!! Not all visible at the moment mind!

Only snag is that I have to add IIP for each category

Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by JustDave:
posted by canvey:
posted by JustDave:

I'll bet your cookies are not site wide.


You lost you bet LOL

Mind you I just realised that I know why I did not have the link - and this will affect some of the older threads installations around (ie pre IP days)







hehe ok guess I owe you a free IIP 6.0 upgrade when it's out.


ohhhh ohhhh, quoting a quote don't look so good... had to modify the post to add the inner quote start tag...


Yep - I think it is the quick reply mod - I have the same problem - I did mention it on this post
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by canvey:
posted by JustDave:

Don't take that the wrong way... I just have to wonder if ther are any other sites out there with 150+ categories... eeek! LoL

That has to be a nightmare managing...


250 almost!! Not all visible at the moment mind!

Only snag is that I have to add IIP for each category





Ack... that's alot of installing... the cats should work when caching is off and force public is not used. I made sue the variable was being passed by every form I could find and every link that needed it.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Dave, just as another compliment...

Just today I recieved yet another brand new member saying how incredibly awesome my site is. The past few weeks I see other new members saying it is now their homepage, or they can't help but surf on it all day long, etc.

I mean, I don't have any content other than the posts users provide, yet your index makes everything available so easily users just love it. Everyone is always commenting on how professional it looks, or how much I paid for it, etc.

Its great, because as an admin, I really don't have to spend countless hours editing webpages anymore I have some suggestions, but I will offer those a bit later Keep up the great work.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks msula

I really like how your site's looking with IIP and I must say it keeps getting better. Your going to love 6.0


Oh and hey, as far as suggestions go I do keep looking at the IIP suggestion thread in the forum. Please feel free to list them there as it does help keep track and I do forget things... lol
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
6 will be easy to use custom pal boxes correct? A weather pal box is going to be sweet If I ever get around to getting my recovery list script working, I will be in great shape
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yes I think as far as customization goes 6.0 will lend itself well because of the template use. The index page has a template unto itself. The exterior pages for Recommend Us, Profile Index, Member's Sites, Picture Posts, Attachment List and Poll List have their own templates also but are also wrapped by a left column, center colum, right column or an open full layout template. It's these last 4 wrapping templates that will allow you to wrap any .threads template. This means you can place a left column of IIP's boxes on your forum list or post list pages or where ever. Or use one of the other 3 wrapper templates in the same manor. It's slick! LoL
Posted By: voidvoid Language support - 09/25/2002 1:28 AM
Hi,

Is there any chance of language support like in standard ubbt?

Tim
Posted By: JustDave Re: Language support - 09/25/2002 1:28 AM
Yes I redid the langauge files for 6.0 and now all language variabes are in one array:

$pal_lang['some_description_here'] = "Blah blah blah";

As far as other languages already added there is only english though.
Posted By: voidvoid Re: Language support - 09/25/2002 1:28 AM
Aahh, yes...I see the languagepal.php.This is just great news. You're a champ I'll get back to you with a danish translation around the time of the release of ubbt6.1

Tim
Posted By: JustDave Re: Language support - 09/25/2002 1:28 AM
The language file in 5.0 isn't complete and it's not the same as what is used in 6.0 either. I think the only file that's not covered by 5.0's language file is the profile index. In 6.0 I placed the language strings into an array in the same manor as .threads does which makes things cleaner and simpler to work with.
Posted By: voidvoid Re: Language support - 09/25/2002 1:28 AM
Any ETA on 6x?
Posted By: JustDave Re: Language support - 09/25/2002 1:28 AM
Sometime before 2003.
Posted By: Dslam Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
dave you need to change the font size on this turn ipp on
please increase the font to +10 then everyone can see it LOL j/k

most new people t ipp seem to have a problem with turning on ipp
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
The next version is accessed from the admin area with menu options along the left hand frame with everything else
Posted By: voidvoid Re: Language support - 09/25/2002 1:28 AM
Thx
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
posted by JoshPet:
Custom Pals
I've also created a few "generic" pal boxes.. where I have placed throughout the page some Amazon.com Product Links. These generate a little revenue and add some interesting graphics to the front page.



JoshPet,

Would you be willing to share as to how you did the generic boxes? Either I am getting older, or my brain has seized up, as I can't remember how I used to do it!!

Ian
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Would I be willing to share? Always.

I haven't tested this on 5.0 yet.... I'm still on 4.3... but I bet it'll work fine.

Attached is a zip file with instructions and a "generic" pal box.

The instructions are down and dirty and I jotted them off just now.... so it ain't pretty. But it's simple... so it should do.

:)

Attached File
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks Josh

I'm sure there are others here also that will find this usefull too.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
very useful, thank you josh
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Grr.. I hate being php retarded

Ok, I've tried adding \'s and everything else, but never seems to work. I only need this code in my box:

code:
<MAP NAME="SFlashCard">
<AREA SHAPE="RECT" COORDS="0,0,131,94" HREF="http://www.anythingweather.com/current.asp?station=Klan">
<AREA SHAPE="rect" COORDS="131,0,185,94" HREF="http://www.anythingweather.com/sponsors.asp?station=Klan">
</MAP> <IMG USEMAP="#SFlashCard" src="http://www.anythingweather.com/flashcards/Klan/flashcard2.png" BORDER="0">



How should it look to work?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Like this:

code:

<MAP NAME="SFlashCard">
<AREA SHAPE="RECT" COORDS="0,0,131,94" HREF="http://www.anythingweather.com/current.asp?station=Klan">
<AREA SHAPE="rect" COORDS="131,0,185,94" HREF="http://www.anythingweather.com/sponsors.asp?station=Klan">
</MAP> <IMG USEMAP="#SFlashCard" src="http://www.anythingweather.com/flashcards/Klan/flashcard2.png" BORDER="0">




Hope that works for you.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Thanks dave. I swore I did that, about 4 times. Hmm..

But although it works, per josh's instructions, I'm not sure how to get the pal to work, since it has changed quite a bit since 4.3
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I *hope* to be playing with 5.0 this weekend.... havne't had time yet.... but I can't wait.
Once I look at it, I can see what needs to be done for that.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Not a problem, I just thought I'd give it a try When you find out just post and I'll be sure to pick it up
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
There was a step that needed to be added for setting this up with UBB.threads 6.0.x to allow the download.php script to work. I updated the instructions of this thread's main post. Basicly the download script was looking for the related language file and could not find it and failed.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Another error found thanks to Gardener. When the viewer's style sheet was set to "use default" the shout box didn't know what to do with that information so it was most likely trying to load a style sheet named usedefault.css (which don't exist) lol


I just updated the IIP 5.0 attachment in this thread's main post. Download the zip and upload the new shoutdisplaypal.php script and you should be good to go.
Posted By: JoshPet Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
I gotta add my 2 cents.

Just installed this as I'm getting ready (maybe tonight) to switch my boards to 6.1.

Dave... the Online Config tool is FREEEEEEEKIN' AWESOME!

Very Impressive! Perhaps now my non-tekkie Admin and site owner can make adjustments there without my help!

Thanks Dave!
Posted By: JustDave Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
hehehe your welcome

I thought the configure panel turned out rather well myself. This has to be one of the most important features for IIP to be user friendly for sure.
Posted By: JoshPet Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
Now I need to tweak my "custom ad pals" and somehow add them to the interface.

Well... don't look for that any time soon. But ya never know.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I minor "buglet".

When viewing the profile index...

It shows two columns of profiles side by side.

The right it shows the custom titles that I've got for the extra fields... but on the left it labels them as "extra 1", "extra 2" etc....

Thanks!!!
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
ack... LoL will fix that right now. Thanks.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I just updated the IIP 5.0 zip file with the new profilepal.php script. Let me know if you notice anything else. Thanks
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
stop finding bugs so I can stop updating my files.. lol
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
LoL well the good thing is that some of these were in 6.0 so squashing them here eliminates them there.

Of course there will be new improved bugs with the new improved IIP... LoL
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
It's alright, I don't mind

Just a question, I know the caching has increased my index loading time by quite a bit, but it still a tad slow for my liking. I'm not running all the pals either, but 1.5 seconds is slow to me.. lol I know, I'm picky.

So, what would you recomend for the update times? I left them all at default times as of now, but just wondering, what may help increase load times? Making the update intervals shorter, or longer or what?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Longer times are better if you don't mind information being displayed that's not quite "up to date". Use odd numbers for the minutes to cut down on overlap. Some things such as the "news" section could be changed every 12 hours (720 minutes) and if you need to bring a news article to the front then just add &RefCache=1 to the url or ?RefCache=1 if you have a Cat= in the url.

Pull the polls out of just one forum. Don't make it random.

Turn "force public" on. This is needed if your going to cache the news.

If you really don't need a particular pal box turning it off will help.



These are all I can think of at the moment. Might be one or two more if I think about it long enough... lol
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
That fixed the profile thing.
thanks!
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Well I had already everything done you said, but I did adjust the times a bit and I also made a few things show less posts, like 5 instead of 10. Its down to about 1.6 seconds.

I haven't had anyone complain or mention anything, so I'm sure its fine
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
The funny thing is that I know of some popular websites out there, commercial even, that load in what is probably 3 to 5 seconds and occasionally faster. These sites don't have page generation times so people don't think anything of it. To be quite honest I think anything loading in less than 3 seconds with 20,000+ members and 40,000+ posts is doing fantastic. http://www.myhotboard.com seems to load fairly fast with the amounts above.

The other thing that's a factor is the host. If your on a shared server and it's packed with other accounts then I'm sure times will be slower than being on a dedicated one.

What would be nice is to see a list of sites using IIP that state what they are running on as far as hardware and if it's a dedicated/shared server and give some average generation times.

If I can get around to creating an archival system that moves the older posts out of the w3t_Posts table this will help considerably with the speed issues of larger sites too. (it's on the list) lol
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yeah, I can't complain at all, I mean less than 2 seconds, haha that's fast. As you mentioned I have seen some sites that are generally slow and you're right, I never even think about it.

Its just me being a perfectionist, I will sit here and try to squeeze every ounce of performance I can, whether it be my own machine here at home or a website or whatever Gives me high blood pressure, lol
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
LoL I share the same affliction... LoL always trying to make it faster, better than before...
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I'm not the biggest site in the world... but we are pretty busy. Almost 6000 members... and knocking on 30,000 posts.

I'm using force public. Almost everything left the default. Random polls. I left everything turned on.

I am on a dedicated Rackspace.com server.

"Generated in 1.347 seconds in which 1.269 seconds were spent on a total of 21 queries. Zlib compression enabled."

MUCH better than before... I think it used to be double that.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yeah, prior to IIP5 I had some pretty poor results, but this has helped out a great deal. With what, 70k posts to pull info from I couldn't ask for much more.

As a side thought... I think I remember in 4.3 that the header would load first, then the info below it would come after. Is that true? If so, why does it not work that way in this version?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I'm not sure why that is as it uses .threads to send the header out like all of the versions including 6.0. Now that it's standards compliant perhaps this has helped speed it up during the display?
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
That may be. I was just kind of used to the header poping up almost instantly, and then in another short instant the rest would follow. Now its just a white screen for a second, then everything displays at once.

Doesn't make much difference, just something I noticed from before
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Just wanted to mention that at some point I'll will be creating a "top 10" page that will list the current top 10 pal boxes that are used on the index along with some other top 10's I can put together. I have seen this sort of page on the various *nuke sites.

As more pal boxes are created that are not dependant on the forum data they will fill the gaps created when the top 10's are on a seperate page. You will of course still be able to use the top 10's anywhere you want but removing such boxes will help speed things up at the entrance.
Posted By: HOTPHP Re: (IIP) 5.0 - xhtml tidiness - 09/25/2002 1:28 AM
Thanks all members
Posted By: Ian_W Re: (IIP) 5.0 - wideright column - 09/25/2002 1:28 AM
Silly question - but how does one make the right hand column wide from using the editconfigpal?

I thought it might automatically kick in if the middle or left columns have nothing in it, but this is not the case.

So I looked manually at the config.pal, and see that each pal has four options - I am assuming that this is left,middle,right,wideright? however the second option appears to be the left.

Can you clarify this for me - I have had to disable many of the boxes to get it down to something reasonable, so now wish to just have a left & wideright columns.

Ian
Posted By: JustDave Re: (IIP) 5.0 - wideright column - 09/25/2002 1:28 AM
The boxes should expend to 100% but the index page has 3 columns. The only time the wide right column is used is with the menu options such as Attachment List or Profile Index.

You could try to turn everything off in the right hand column and set the right hand column's size to 0 and then adjust the center to the rest of the width and then turn on what you want for the center.

That may work, I think.
Posted By: Ian_W Re: (IIP) 5.0 - wideright column - 09/25/2002 1:28 AM
Oh I see - sorry my mistake.
Posted By: JustDave Re: (IIP) 5.0 - wideright column - 09/25/2002 1:28 AM
Just fixed the user's time offset for the shout box to display the adjusted times. I had forgotten to request the offset information when authenticating so it was always 0.

I updated the attached zip file located in this thread's main post. Just download the zip and upload the new shoutdisplaypal.php script to your pal directory and you should be set.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Just wanted to share some information I noticed while playing with my various browsers... lol

I really like Mozilla and will be using it much more when I get time to switch to Linux. One of the things I like is that it displayes how long it took to load a page. I went to your website with Mozilla for the first time and your page said:

Generated in 1.668 seconds in which 1.612 seconds were spent on a total of 14 queries. Zlib compression enabled

Mozilla took 2.235 seconds to load the page and graphics.


I browse a bit then go back to the entrance to see how the times change now that the graphics are cached. Your page said:

Generated in 1.856 seconds in which 1.762 seconds were spent on a total of 14 queries. Zlib compression enabled.

Mozilla took 5.781 seconds to load? It has been hovering around that 5 second mark too. Weird, huh?



Don't freak lol just wanted to let you know what it was like in something other than IE

(it looked great in Mozilla too, btw)
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I personally don't run mozilla at home, but have used it at work on my site a few times. Tonight may not have been an accurate test, since for a while it was completely down, and off and on tonight its been fairly slow

But that seems aroung right, the 2 second mark. In IE when I first go to my page, its roughly 2 seconds from blank screen to a display.

Also, are you sure the header looked ok in mozilla? I thought last time I checked it was messing up the table with the mouseover buttons, but I may have fixed it and just haven't tested it yet.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Looks good in Mozilla 1.1 and the rollovers work too.

In Opera it looks good and the rollovers work too but there is padding around the body and the <iframe> width isn't supported in percentages (I believe) and is best set to a specific size such as 200. To get rid of the padding set it to 0px in your .css body style: padding:0px;

In IE and Mozilla the "margin:0;" removes the padding for them.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ahh, silly opera

EDIT - hmm.. something is amiss
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Wow.. something is messed up. Earlier today, index was loading at an almost always consistent 1.7sec or so. Well, now that you mentioned it was getting 5+ seconds.. I'm getting that now too. I tried to think of what I changed...

maybe an hour ago I added one new forum. It only has one post in it, but after that I too notice the index being extremely slow, whereas all my other pages still load very fast (0.1-0.17 sec)

Hmmm
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I don't think it's the new forum. It's more likely just heavy server load right now. Give it a few hours and see what happens.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]Ahh, silly opera



opera 7 should finally work like IE/Mozilla as it is supposed to support standards.

finally

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I am sooooooooo looking forward to that! Maybe it will also support the percentage sized iframe too... guess I can wait and see before changing.
Posted By: Kordegnen error ??? - 09/25/2002 1:28 AM
just uploadet it but i dont have any link on the ipp copyright link ???

how do i get to configure panel ??

www.holme-olstrup.dk/ubbthreads

Thomas
Posted By: JustDave Re: error ??? - 09/25/2002 1:28 AM
If your logged in, are an Administrator, and your cookies are set site wide, ie: $config['cookiepath'] = "/"; you should see the link.

(your cookies don't have to be site wide if the index is in your .threads installation directory though)

Hope that helps.
Posted By: casper_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
When I looked at my site with Mozilla 1.0 my images had a space between them. In RC1 that was cleared up.

But one thing I did notice was that Mozilla seemed to incorrectly display the table widths.

My left Column was set to 60% then the middle and right are set to 20% each. But both the middle and right columns looked more like 10% each.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
The columns are controlled by one 3 column table with each column set to a specific width. The pal boxes inside these columns expand to 100% which will end up being the same width as the column it is in. I have viewed 4 different sites, including my own test sites, with Mozilla 1.1, IE 6.0, Opera 6.0.5 and Netscape 7.0 and the only thing I have noted is that Opera does not handle the <iframe> width being set in a percentage as the other browsers do.

Now that IIP is XHTML 1.0 compliant there should be no layout problems when viewed with a standards compliant browser such as the ones noted above with the exception of Opera. I am told that Opera 7.0 will be comming up in the near future so that may help the layout of the <iframe>, I hope.


Note: I just set IIP to 60,20,20 here at ThreadsDev and in Mozilla 1.1 it looks as it does in IE. Have you altered the html in the index?
Posted By: casper_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Actually I think I found the problem.

While using the validator I have a few open tags.

I'll have to look at my header and footer.

I was compliant before......:(
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I know what it's like to miss a tag or two... or more... lol
Posted By: casper_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I am now once again XHTML compliant....:)

http://validator.w3.org/check?uri=w...tect+automatically%29&doctype=Inline

But the right column still seems to be smaller than the middle column which both are set at 20%.



Posted By: casper_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I have another Index set up at
http://www.unnecessaryroughness.com/pigskin/

That one looks fine. So I think it is the URL in the last News Item that doesn't wrap in Mozilla but does in IE.

P.S. I found a small XHTML error in pollpal.php
If this is fixed in the latest version please disregard

Line 268:

code:

echo "<tr><td align="left" valign="top"
class="tdheader">{$pal_CurrentPoll[0]}</td></tr><tr><td
align="left" valign="top" class="lighttable"><table
width=100%>";


Should be:
code:

echo "<tr><td align="left" valign="top"
class="tdheader">{$pal_CurrentPoll[0]}</td></tr><tr><td
align="left" valign="top" class="lighttable"><table
width="100%">";

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
In Mozilla 1.1 the middle and right columns seem to be of the same widths but that left column is stretched way out to the extent that I have to scroll right to see the right column...

IIP's columns worked correctly here so I thinnk it's possibly the html changes you have made.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Good catch!

That's one I missed. I have it fixed now and I also updated the attachment of IIP 5.0 in this thread's main post. I also updated the pollpal.php script here at threadsdev.

Thanks.
Posted By: casper_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Editing the URL that wouldn't wrap fixed the issue. It would not wrap in Netscape 6.2 either.
Posted By: MultiSync Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
anyone have problems downloading v6.1 br1 of ubb.threads from infopop? I have been downloading for like 15 times now and still get corrupt files. Damn=( just needed the download.php file, so I can use IIP. Is it possible to post that file for me?

I will try again to download the file again.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
That's a copyrighted file. It should never be posted for download. Sorry.
Posted By: MultiSync Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Ya. I know. No Problem. I will sent them a email now and see if they can email it to me
Posted By: Aglavalin Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
If your on a windows box, trying to download the .zip I know what ya mean. The download box in ie tends to 'hang' at 99% waiting for the final confirmation from the server (i think). I just let it sit there and it finally finishes ok. I don't have this problem on the .gz version, nor on other websites. (well I did on one server which was some type of unix/linux too)
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Has anyone noticed that IIP doesn't work with beta2? I just found out the hard way..... I imagine Dave is working on things.....
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Hey Dave,

In the last version... for the news pal... you had the ability (for a select forum) to disable the user picture, date and username. In this version I can only find where to disable the user pic.

For example... if you look at my homepage... the first forum... we don't need the date and/or username as it's all intro to the site... and or banner ads etc... I don't need the date and such until you go lower to actual posts.

Any idea if there's an easy way to disable this stuff in the one forum?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
OK -
Actually found the answer to this one on my own... it's no longer a config option...

In newspal.php

Find this line:

$date = "<br />{$pal_News[8]} $date";


Above it add this:
// begin conditional for forum without date, name and extras
if ($postdisplay[$i] != "keywordofforumhere") {




Find this:
$printPost = "<a target="_blank" href="{$config['phpurl']}/printthread.php?Cat=$Cat&Board=$palKeyword&main=$palNumber&type=post"><img alt="{$pal_News[13]}" src="{$config['images']}/print.gif" align="middle" border="0" width="18" height="16" /></a>";
$twidth = "100%";


Below it add this:
} //end of if statement to avoid date, name and extras

else {
$date = "";
$userPic = "";
$palUsername = "";
} //end of else
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I took them out thinking nobody actually used those options... lol sorry

I'll make sure they are in for the next one.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Maybe nobody else in the world did. <SHRUG> [lol]

But on my home page.. we pull stuff from one forum to be the intro, content and ads on our front page. I guess I could hard code some pal boxes like I did with my ad pal boxes... but having that stuff in the forums allows the other admin to easily edit.

Thanks Dave!
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
We don't get the # of replies anymore either
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
hmmmmm.... now that should be working... lol I'll take a look sometime today. Are the ones being displayed allowing guests to post? I think that I have it set to not show the replies or the reply link if they don't have write access. This will be a simple fix.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
question: Where is the code (html) you get for the open table and close table hidden?
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
[]hmmmmm.... now that should be working... lol I'll take a look sometime today. Are the ones being displayed allowing guests to post? I think that I have it set to not show the replies or the reply link if they don't have write access. This will be a simple fix.


It's the announcements/news pal. We only have guests posting in the test forum here
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
That's part of ubbt.inc.php around line 755 so changes there may mean changes for other .threads scripts...

Perhaps removing the open_table and close_table calls and replacing them with straight html?

Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
hmmm... or an open table/close table specific to IIP. Tho I like the idea that it uses the basic html from the forum. Let me work on my problem a bit more then. It really should be possible to get most of that work to work from those basic calls, would simplify forum-wide changes. As it stands in 6.0x and 6.1, the faq page is the only public page affected by open and close table. I've recently found out I have a few more days anyway Getting this right will simplify transitioning to 6.2+
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Hey Dave, I don't know if you have been able to test this or not, but to my supprise, my website was almost unreadable when using a mac running netscape. The IIP was completely toast, the whole right column was missing.

Also, I noticed many posts within the forums were really screwed up as well. Not sure if its just an issue with a certain version of mac NS or what, but it wasn't pretty
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
It should render well on a mac with a standards compliant browser. It's XHTML 1.0 compliant!

I'm not sure why it didn't in your situation. Does the page validate with your header/footer and any other changes?
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Not sure, haven't checked recently. But even if the header/footer are slightly amiss, the whole ubb threads was pretty messed up looking. Instead of those nice one pixel black borders around everything, it was big fat 3+ pixel gray spacing throughout all of the ubb.threads pages. Looked pretty bad.

I should have checked other threads sites while I was on it just to compare.. I will do that tomorrow

Thankfully only 0.000003% of the population uses macs AND netscape (haha, sorry Josh )
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Msula,

I seem to have become the "official" mac tester for threads.

So I took a look at your site, using Mac Netscape 6.2 (the latest version) and it all looked fine.

I am thinking that they are using an old version of Netscape.... which even on the PC doesn't play well at all.

Hope that helps!

Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yeah, I assumed it was an older version (dumb me forgot to check) but the macs are are on are such POS machines, they installed OS 10 on them.. realized the computers were not fast enough, had to revert back to OS 8.x something, and the NS is probably older than the OS is. When viewing via IE on a mac it all looked fine.

I hate netscape, why can't it just go away and die already
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
They'll simply have to either upgrade or live with the borders. It sounds like they are using NS3 or something - as long as your site is usable by them it's unrealistic to expect it to look decent for a browser never meant to still be in use today.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Yike!
Mac OS 8 - that alone is awful. 9 was much better.... X is awesome.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
One never knows why MAC's are still in existence let alone Netscape.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I'm here on the mac again at work, NS 4.7

The borders are still messed up even here at threadsdev, but the posts themselves are better. They don't run off the right of the page having to horizntally scroll.

I have only had one user mention to me this problem, so I simply told them to use IE and they told me "wow, that fixed it, and it looks so much nicer now" haha.. why do people use such out of date stuff I do not know
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
If I recall correctly, someone mentioned that this was do to the fact that the style reference didn't carry over when used in the <tr> tags.

<tr class="lighttable"><td></td></tr>

should be changed to

<tr><td class="lighttable"></td></tr>



I think this is the problem your seeing but I could be wrong...
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I have users on Netscape 4.7 on the PC that doesn't work right.

They can't stay logged in and the registerednav.tmpl won't appear for them.

I also think in 4.7 when you make a post...the text doesn't wrap in the entry box... it just goes on and on forever. You have to scroll left and right.

I'm really not a netscape fan on the mac or PC.
Posted By: JustDave Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
I put the version check in rather hastely and now that we have betas greater than br1 it needs to be adjusted. Also, Navaho has mentioned over at Infopop that 6.1 final will be out on Monday!

I've modified IIP 5.0 to use a templated open/close table file and will also be releasing this updated IIP 5.0 on Monday.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
To fix IIP 5.0 so it will work with 6.1 beta releases greater than br1 change these lines in your index.php file:

$versionCheck[1] = str_replace("b1","",$versionCheck[1]);
$versionValue = "{$versionCheck[0]}{$versionCheck[1]}";


to this:

$versionCheck2 = split("b",$versionCheck[1]);
$versionValue = "{$versionCheck[0]}{$versionCheck2[0]}";



I think that should do the trick.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Hey dave, I don't know if this is from upgrading to 6.1 lastnight or what... but I added a new post in my announcements forum (to be displayed on the main page) and it isn't showing up

I haven't changed anything with IIP, so I dunno.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Are you using cache? Then it wont show up untill cache is updated. I'm not sure what you have for time settings though so I can't say when it will update. You can refresh IIP's cache by going to your site's index: http://somedomain.com/index.php?Cat=&RefCache=1

This will not work unless your an admin and your logged in.
Posted By: msula Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
that worked. Although I'm not sure why it didn't update the cache, it is set for only an hour I think

thanks
Posted By: Helice Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Hi,

I just upgraded to 6.1 today and tried to upgrade to IIP5.0 as well, but the index page kept coming up as "Cloded for updating" no matter what I did. Yes, I did go through the config file carefull and make sure everything was set properly, including the $configured = 1; , so I had to revert to the previous version, which still works okay with 6.1.

Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 1:28 AM
Use the online editor to make the changes. There are some blanks in the online configure panel that need to be filled in with either a 1 or a 0 so keep an eye open for them. I'll be updating IIP 5.0 one more time to allow for Allen's adaptation of Bookie's Blam Ice templates. I might get it uploaded over the old file before the night is over.

I'll also generate a complete configure file so when someone edits by hand they can see what fields they need to fill in. It's still best to do it from the browser though.
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 6:27 AM
JustDave, you da man! IIP looks GREAT!

Add one more web site to the "IIP list".
Posted By: WrÅith Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 9:40 PM
Hey Dave:

I plan on installing this on my site just and soon as I get it upgraded to v6.1. I had a feature suggestion for you in regards to the overall direction of the program.

My suggestion is for a more user-customizable interface. What I'm thinking of is having a default configuration that is used for everyone, but allow each user (via some sort of configuration panel) to determine the boxes they wish to add to their front page and the order in which they should appear.

This would allow those users who are more interested in who's online and who has the most posts, etc. to add those to their front page. Those who are more interested in news articles, etc. could add those to their page and remove the others. Each user would be able to control his/her experience on the website with more flexibility.

Thoughts?

If you're interested, I'd be happy to work with you on testing. I have around 350+ members on my board and they're pretty understanding when it comes to testing and tinkering (they have to put up with me. )
Posted By: WrÅith Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 9:40 PM
Hey Dave:

I plan on installing this on my site just and soon as I get it upgraded to v6.1. I had a feature suggestion for you in regards to the overall direction of the program.

My suggestion is for a more user-customizable interface. What I'm thinking of is having a default configuration that is used for everyone, but allow each user (via some sort of configuration panel) to determine the boxes they wish to add to their front page and the order in which they should appear.

This would allow those users who are more interested in who's online and who has the most posts, etc. to add those to their front page. Those who are more interested in news articles, etc. could add those to their page and remove the others. Each user would be able to control his/her experience on the website with more flexibility.

Thoughts?

If you're interested, I'd be happy to work with you on testing. I have around 350+ members on my board and they're pretty understanding when it comes to testing and tinkering (they have to put up with me. )
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/25/2002 10:33 PM
Déjà vu.... LoL

I have had that same idea a few times but I don't think it's as practical as having individual templates that users can select from rather than them placing what box where on a per user basis.

I have been keeping the idea of some sort of user selectable features in mind but I just haven't gotten around to that end of things yet. I'm really trying to get all of the major features of a nuke type portal built in and then once that's done I can start to polish things up and add such tweaks for users and whatnot.





btw, I'll be posting an update of 5.0 tonight to work with the Blam Templates Allen created from Bookie's for .classic. I have added back the ability to designate if the news posts should have the username and date displayed too. I have also added in 3 custom pal boxes in which you can add your own html to be displayed on the main page. I haven't made an easy way to add your own html so will work on that later tonight. I have said this before but it just doens't happen... lol this will be the last update for 5.0, everything else I do will be geared for the next major release.
Posted By: Aglavalin Re: Integrated Index Page (IIP) 5.0 - 09/26/2002 1:08 AM
I just installed this today and it works great But I am having some issues with the online forms to edit the config file. It seems that some of the variables are being set to nothing, not even a "" to say it. So this is creating parse errors when php runs into a ; unexpectantly. I fixed this by adding "" where there was nothing by editing the config file manually. What am I doing wrong? Any idea?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/26/2002 3:04 AM
Don't edit the config file manually.

It's ment to be set up from your browser. There are some blank text boxes that need a 1 or a 0 so pay close attention as you scroll down the configure panel.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.0 - 09/26/2002 5:03 AM
Scratch letting this updated release out tonight... lol I'm headed to bed. Been a long day. I'll zip it up and post it in the morning.

Posted By: Dalantech Possible bug - 09/26/2002 7:07 AM
Hey JustDave,

Aglavalin is right: there is some sort of bug in the config page that is setting variables to zero. Here is what happened to me:

1) I set the option to not display the initial instructions (the changes to the templates, etc.) so that it would not display when I went into the editor.

2) Now when I make a change in the editor and click on the button at the bottom of the page to save the changes the variable that should be set to "0" for displaying the initial instructions is set to nothing and I get a pars error when my index page loads. Manually editing the variable (adding the 0) fixes the problem.

I've even had all the variables reset to nothing, but that may have been due to a poor connection with the server when I was trying to update the page.
Posted By: Dalantech Feature suggestion - 09/26/2002 7:13 AM
Hey JustDave,
If you look at my site I post news on a daily basis. On my old index I hacked the new posting script that comes with threads so that I would only get one header per day and it made the news a lot less "cluttered".

This is what the old page looked like.

I know, pretty plain and borring compaired to IIP5 But I would like to be able to format the news postings in IIP 5 like my old page (including the way I have the date set up).

If you don't have time could you please point me in the right direction for hacking your news pal?
Posted By: Aglavalin Re: Feature suggestion - 09/26/2002 8:26 AM
I tried this many times, with my 4.3 config file, with the one that comes with 5. It was not updating all the fields in the config file, even clearing ones I edited by hand. Instead of saving it as

$blahblah = 0;

it was doing this

$blahblah = ;

which gives a parse error. it did this at least 10 times in the config file. I finally gave up on the admin menu and just finished the settings by hand, LOL

Many of the fields I just changed to

$blahblah = "";

and it cleared up the parse errors.

It works ok now, No biggie as I prob wont change the config much anyways.

<thinks the evil blue wall is behind this conspiracy>

Posted By: Dalantech Wierd variable science - 09/26/2002 8:46 AM
I ran into the same problem: All the variable values cleared, and I'm not sure why (could have been due to poor connectivity between my PC and the server since I'm on ISDN in Italy connecting to web server in the States).

It was so bad that I FTPed the original config pal back up to the server, editted it again from the IIP editor page, and then backed up the config pal once I got it to work.
Posted By: JustDave Re: Wierd variable science - 09/26/2002 1:41 PM
Ok I'll run some tests before releasing this update. Not sure why this would be happening but I'll see if I notice anything.
Posted By: JustDave Re: Feature suggestion - 09/26/2002 2:33 PM
I believe that with the templated version that's coming you will be able to create the news column how ever you want it.
Posted By: JustDave Re: Feature suggestion - 09/26/2002 2:38 PM
I can't seem to duplicate this error.

Am I understanding you correctly? Are you saying that variables in the configure panel are being lost? Or are you saying that your setting variables of your own, and not original IIP ones, and that data is being lost?

If the latter then there's not much I can do about that for this version. I mean, it could be done but it's easier to do it the way .threads does when the variables are all in the same array. That way you can figure out what's been added by the webmaster and what was original by cycling through them and comparing them to a list of originals.



I've set the "display initial" to 0, set some other values to 0 or 1 depending on the original value and yet I can't make this error happen.


Is this happening on IIS ? I dunno... just trying to gather some more concise info.
Posted By: JustDave Re: Possible bug - 09/26/2002 2:44 PM
Ok after further playing I figured out what was happening. The "showinitial" variable wasn't being set to 0 in the config file because when it's hidden it has no value when editing. I'll have to place a hidden input tag in it's place when that portion of the configure panel is being hidden.

Thanks for the heads up on that, both of you.


I'll update this next release and get it zipped up and loaded before lunch.
Posted By: msula Re: Possible bug - 09/26/2002 3:51 PM
[]Ok after further playing I figured out what was happening. The "showinitial" variable wasn't being set to 0 in the config file because when it's hidden it has no value when editing. I'll have to place a hidden input tag in it's place when that portion of the configure panel is being hidden. [/]

I found that about 3 weeks ago, don't give them credit! lol.. j/k Since then I have been just editing it by hand.
Posted By: JoshPet Re: Possible bug - 09/26/2002 4:48 PM
I had that happen once.

Thought it was me being dumb.

I've learned to backup the config file before I edit.

Hasn't happened again though.
Posted By: JustDave Integrated Index Page (IIP) 5.1 - 09/26/2002 6:11 PM
Just a note, I have updated this thread's main post to include version 5.1 which supports a limited templated display. Users using the Blam Ice can select the theme from the configure panel.

Since most files have been changed to allow for the table wrappers (templates) you will need to start fresh.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.1 - 09/26/2002 6:48 PM
Thanks, that is extrememly helpful in doing template mods
Posted By: JustDave Integrated Index Page (IIP) 5.1 - 09/26/2002 7:55 PM
Your welcome. Thanks also goes to you for making me feel the need to update for the Blam templates... lol
Posted By: Dalantech Re: Possible bug - 09/27/2002 8:30 AM
Sorry I didn't have time to get back to you

With the time difference between the States and Italy it kinda makes it tough to do things in "real time".

Thanks for the update to IIP!!! I'll upload it tonight when I get home.

I have a question about the shout box: Can I make the shout box forum read / write for admins? I had to delete a post due to it's content (*sigh*) and it was a pain to have to change the access level for the shout box forum, delete the post, then change it back.

BTW: I'm running Red Hat Linux / Apache for a web server. NT, IMHO, stands for "Neanderthal Technology"

*Dal puts on his flame retardant underoos...*
Posted By: JustDave Re: Possible bug - 09/27/2002 3:29 PM
You could make shoutaddpal.php check the poster's status and if they aren't an admin then just return them back to the shoutbox without adding the post. Shouldn't be to hard.


Being logged in as an admin you should be able to delete any shout in the shout box though by clicking on the box with the x in it. I don't know why you had to actually go in from that side of things to delete the shout. Are your cookies site wide?
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1 - 09/27/2002 3:47 PM
Hi Dave,

A big thank you for all the work you and the others put on making our (and your) communities better.

I have installed the 5.1 version on 6.1b1 and it works really well. This weekend I will install 6.1 on my test board and then put all the hacks on it inclusive of the IIP.

Thanks once again.

Warm regards

Nikos
Posted By: Dalantech Re: Possible bug - 09/27/2002 7:31 PM
Doh! Color me stupid, I didn't realize I could delete a post by clicking on that check box...
Posted By: JustDave Re: Possible bug - 09/27/2002 7:41 PM
LoL how bout "uninformed" which would be my fault in the documentation department.
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.1 - 09/27/2002 7:52 PM
Thanks JustDave!!!
Posted By: Lisa_P Re: Possible bug - 09/28/2002 1:40 AM
Dave, would it be terribly difficult to create a hack that would automatically make a copy of a poll when it's posted? (Huh? ) What I mean is, it definitely cuts down on the time for generation on the IIP to have all the polls in one forum. But with users posting polls in lots of forums, that means we either have to forego the pollspal or move the polls to the polls forum (that would be a chore!) But if, when a user posted a poll, it automatically could be copied to the polls forum (and the original would be left in the forum it was posted in) it would solve the problem. Unfortunately that sounds very complicated.

What about just the location of the poll being copied to a location? Like when a person makes a poll it automatically copies the thread number to a file, so that the IIP would only have to pull the information from that file, and not query the whole database. Would that make it as quick as having the polls in the same forum?

If you are just shaking your head at this point you can say so. I can live with a "you can't get there from here" answer.
Posted By: Lisa_P Re: Wierd variable science - 09/29/2002 4:07 AM
[]I ran into the same problem: All the variable values cleared, and I'm not sure why (could have been due to poor connectivity between my PC and the server since I'm on ISDN in Italy connecting to web server in the States).

It was so bad that I FTPed the original config pal back up to the server, editted it again from the IIP editor page, and then backed up the config pal once I got it to work.
[/]

Yep, this happened to me this afternoon. I accidently left a / at the end of the url for the site and that made the whole thing blank out. So when Dave says "do not include the trailing slash", I guess he really means it!
Posted By: JustDave Re: Wierd variable science - 09/29/2002 6:06 AM
I agree that the poll pal can be a resource hog when figure out what to display and displaying it.

I have debated on a few routes to speed things up such as:

1. A dedicated poll feature, independant from .threads posts but with access based on groups. (I debate this about every 2 or 3 days) lol
2. Caching the poll display and results. (I started working on this but figured it was easier done with 6.0's poll pal because I have straightened a few things out so I can see what the heck I was doing... lol)
3. Add an index or two to the database to try and speed up the searches. (I have done this with some limited success in 6.0. It's not as good a search as it can be but it's better than it was)
4. Combine some information in the database to limit the number of queries. (I have done this with 6.0)

Now I think I understand your direction on this...

What would happen is that when ever a poll is posted it's information including title and options along with what board (to base access by) would be stored seperately. This dedicated pollpal data table would then need to store the post number, post date, board keyword, poll name, poll title, poll options, poll votes and total votes per poll.

addpost.php would need to store information in this new table when a poll is entered.
deletepost.php would need to remove this poll.
modifypost.php would need to update information related to the poll as well.
Any script that I'm forgetting that can modify a post will probably need to be gone over also.

The first route and this last one would be the fastest. The last one would also add a query to all .threads scripts that deal with posts and polls as far as modifying and storing information goes. One of the things that always stops me from really embeding some IIP code into threads as far as possible is that it will require the end user to do a lot of editing.

All input on this is welcomed. I do listen. (sometimes forget but not on purpose... lol)




PS. yep, I do mean it... no / means no /
Posted By: Lisa_P Re: Wierd variable science - 09/29/2002 6:48 AM
You know, I didn't even try to do the poll using all public boards. I just assumed it would be too slow. Prior to v5.0, turning on all of the boxes made the index page have a load time of 40 seconds or so.

I imported about 300,000 posts, 4000 members. I turned on all of the boxes, including pollpal. I have it set to public, and admitedly I have the caches turned up pretty high on some of the boxes (particularly top 10 posters, because we've had a problem with people posting just to see their position move -- if they have to wait a couple hours to see it change it might not be as much fun )

Anyway, with everything turned on the load time is only:

Generated in 3.652 seconds in which 3.58 seconds were spent on a total of 35 queries.



I have it on a test board though, so there is no load (other than me ), but it's still on the same server as our regular board. Is it likely to change when I move it, or can I jump for joy now?

Question -- Under Top Posters, in the editconfig, you say, "Should we cache this information to increase page generation times? " You did mean "decrease", right? Increasing the cache time should decrease the generation time, right?

Also, does the shout box automatically refresh? Where is the time setting for that if it does?
Posted By: JustDave Re: Wierd variable science - 09/29/2002 6:59 AM
Yeah I mean increase speed, decrease generation times. I been sorta kicking myself for that wording lately... lol

I believe you'll get the same time results with your main board. Caching the various boxes helps a great deal and spreads the queires out so it wont be to often that one person lands with updating everything.

The shoutbox isn't cached so each page load shows exactly what's there at that moment. But after reading your question again I think you mean a meta refresh and no it doesnt. I left that out but I'll definately make it an option for the next release. My reasons were that I didn't think admins wanted a bunch of people killing 4 queries every x minutes as they watched the page reload and reload and reload... lol

I think it's 4, maybe 3... lol
Posted By: sally_dup1 Re: Integrated Index Page (IIP) 5.1 - 09/29/2002 7:52 PM
Dave,

I am confused

You say '25. Template based "table wrappers" added to allow for easy customized design of pal boxes. A wrapper for AllenAyres' port of the Blam Ice templates by Bookie for .classic has been included in the wrapper template. More can be created, just follow the same layout as the ones listed in the template. '

Can you explain what this is - and is there a demo of it - is this site running this feature?

Sally
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1 - 09/29/2002 8:01 PM
The home page here at threadsdev is using this.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 4:18 AM
Yep, what Josh said.

It's a template file for displaying the tables the pal boxes are in. ThreadsDev is an example of it in use.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 7:51 AM
Sally, these would correspond pretty closely to $TBT and $TBB in ubb.classic. It's a simple way to allow for customization of the tables and their surrounding html bits
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 5:16 PM
I guess that it must be me, cause I have a small problem. My forum is not extremely busy (in terms of users and posts, but still the average is 100 posts a day.

I integrated 5.1 on it having the menu, top posters and profile spotlight on the left, welcome new member and last seen middle, search, login, short stats and a custom box on the right

I tried to put the hot topics in the middle. Indexes are fine, the box appears but before that I get an sql error.
code:

SQL ERROR: Unable to do_query: SELECT B_Number,B_Posted,B_Last_Post,B_Username,
B_Subject,B_Main,B_Replies,B_Counter,B_Board
FROM FFFF_Posts
WHERE B_Number = B_Main AND B_Posted >= '1033312400' AND B_Replies >= '5'
AND (B_Sticky = 0 OR B_Sticky IS NULL) AND ()
ORDER BY B_Replies DESC LIMIT 0,1
You have an error in your SQL syntax near ') ORDER BY B_Replies DESC LIMIT 0,1 ' at line 8



Obviously the error comes from the WHERE statement. I still cannot understand whether IIP will chache results according to the new posts from the minute it got installed or from the existing ones. If it is the latter, I am sure I have threads with more than 5 replies.

The same errors appear when I want to add the Current Threads, Past threads, Current poll, etc.

Any ideas anyone?

Warm regards

Nikos
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 6:57 PM
There's an empty AND () statement in there. My guess is that you have no boards open to the public or "guests". To fix this, edit your index.php file and find this:

code:

if (!$Groups || $forcepublic) {
$Groups = "-4-";
$groupquery = "AND Bo_Read_Perm LIKE '%-4-%'";
$Grouparray = split("-",$Groups);
$gsize = sizeof($Grouparray);
}



to this:

code:

if (!$Groups || $forcepublic) {
$Groups = "-3-";
$groupquery = "AND Bo_Read_Perm LIKE '%-3-%'";
$Grouparray = split("-",$Groups);
$gsize = sizeof($Grouparray);
}




What this will do is pull information that all members have access to. I'll have to add some checks in for this in 6.0 and I'll make it configurable so if it's a private board/site such as yours you will be able to set what the default group is when gathering information for display in IIP when "forcepublic" is on.



If this doesn't fix your problem let me know. I think it will from what I you have stated about your site.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 10:31 PM
Thanks Dave

A minute later... Magic!

That solved it perfectly. Maybe this can be a configuration option i.e. the index page to check if any of the forums are open to the public, and then change the $Groups to -3- from -4-.

Just a thought.

Thanks once more

Warm regards

Nikos
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 11:44 PM
Yes that is a good idea. It'll be in for this next version.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 09/30/2002 11:48 PM
I am aware of another site that is for "members" only and was thinking that since IIP 6.0 is templated it could be made to display a different index page to unregistered users or those not logged in. That way everything can be hidden from "guests" with perhaps an exception of a login box and what ever else that they are allowed to see.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/03/2002 2:26 AM
I patched the newspal.php script in the attachment of this thread's main post. The problem was that the date was not being displayed correctly for sticky posts. If your not displaying sticky posts on your index page then there shouldn't be any problems and you probably can wait for IIP 6.0 which is fixed.

This patch for IIP 5.1 will still not be quite right because of a bug in .threads that causes the posted date of a sticky post to reflect the date of the last reply. If nobody replies to your sticky post then the displayed date in the newspal.php script will be correct. If they do then this date will reflect their reply date.



Edit Note: just download the zip and upload the new newspal.php script to your /pals directory and your set.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1 - 10/03/2002 1:23 PM
A quick question Dave,

Would it be possible in the short stats to have some averaging? For instance average messages per day?

I tried to do something about that but the dates on the messages are stored like integers and at the moment I am not that literate in mysql to decipher them into dates and group them.

I was thinking of something like getting the difference in dates of the first and last message posted divided by the total message count.

Warm regards

Nikos
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/03/2002 4:25 PM
I too have thought about some sort of bar chart displaying averages but haven't a chance to tackle it. I'll see what I can do for 6.0
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.1 - 10/03/2002 10:43 PM
for the forums such as our test forum, can they be eliminated from the 'current threads' pal? or is that part of the archived forum stuff you've talked about? a third of our current threads are test posts
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/04/2002 12:54 AM
I'll add a "AND B_Board != 'testboard'" to the current threads tonight.

That will fix that.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/04/2002 1:57 AM
I have IIP set to overlook anything related to the "test" board.


The archive setup I have in my head wouldn't be able to help in this situation as it's a board that requires posts to be added. Archives would strictly be for reading only... with perhaps admins/mods able to modify existing archive posts.

I really do want to get around to doing the archive feature... never enough hours in the 30 hour day... lol
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.1 - 10/04/2002 2:27 AM
You get 30 hours?!?! Where do I sign up?

Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/04/2002 3:38 AM
LoL I think it's a bum deal though... I believe my life will end 6 hours earlier for each day I make it through... LoL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/06/2002 4:44 PM
I have added a change to the index.php page so that IIP's version check will work with both UBB.threads 6.1 and 6.1.1

Users that have upgraded to 6.1.1 will want to make this change to their index.php file:

Find this:
code:

if ($VERSION != "6.1"){
$VersionNotice = "<br /><br /><strong><span class="standouttext">Version missmatch!</span> IIP $palVersion will not work with UBB.threads™ $VERSION.</strong>";
}



and change it to this:

code:

if (($VERSION != "6.1") && ($VERSION != "6.1.1")) {
$VersionNotice = "<br /><br /><strong><span class="standouttext">Version missmatch!</span> IIP $palVersion will not work with UBB.threads™ $VERSION.</strong>";
}







That should do it.






Thanks goes to Billster2K for pointing this out to me. I have updated the .zip file attached to the main IIP post of this thread to include this change.
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.1.1 - 10/06/2002 6:58 PM
If you could only have seen my face when I upgraded to 6.1.1 and then I went to my index page...

Thanks JustDave!
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/06/2002 8:16 PM
LoL I hadn't really given it any thought untill it was pointed out. Just keep adding versions if there is another 6.1.x released. There won't be any database changes or anything drastic till UBB.threads 6.2 so it should work with anything 6.1.x
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1.1 - 10/06/2002 11:47 PM
It's odd.... I'm still running IIP 5.0 and threads 6.1.1 and I never had a problem. <SHRUG>
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1.1 - 10/06/2002 11:49 PM
This is odd.... dont' know if it's a blam template thing....
But for me.... this post (and my last one) is on page 16.... but at the top of the thread.... it only lists pages 1-15.... I had to "show all" to get to it or manually change fpart to 16 in the url. <SHRUG>
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 12:33 AM
I have had that happen to me before but not with the blam templates. It doesn't happen often so that's the problem. Also, I have less pages because I'm viewing more at a time so your page 16 is my page 12. Not sure if having the different number of posts per page helps or not.

Have you ran editconfig.php from your admin directory and updated the .threads version number?

If not then IIP still thinks .threads is 6.1
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 12:43 AM
Ha...
with your post here (the third on page 16 for me) page 16 appeared. <SHRUG>

Yup the bottom of my screen does say 6.1.1.

I may have been running an earlier version of 5.0 though.... it's OK because it didn't break..... this is what I've got.

$VersionNotice = "";
$versionCheck = split("\.",$VERSION);
$versionCheck[1] = str_replace("b1","",$versionCheck[1]);
$versionValue = "{$versionCheck[0]}{$versionCheck[1]}";
if ($versionValue != "61") {
$VersionNotice = "<br /><br /><strong><span class="standouttext">Version missmatch!</span> IIP $palVersion will not work with UBB.threads™ $VERSION.</strong>";
}
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 12:46 AM
Yeah that code there works no matter what minor version number is tacked on.

I probably should have put it back that way... oh well.
Posted By: ExcelsiorDDZ Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 4:58 AM
Just updated everything and I have only run into ONE problem...

I have 4 sections that I use to post news in, but if I edit with the online editor, it kills the fourth news source. Any ideas?
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 7:19 AM
I was really proud of myself cause I had just used Beyond Compair for the first time to add all my hacks to a new release of Threads and it worked perfectly. Then I went to my index page and my chin hit the floor...
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/07/2002 1:09 PM
Best to edit manually then as the online editor only allows for 3 forums to be used for news.
Posted By: Dalantech Possible short stats bug - 10/11/2002 6:57 AM
Hey JustDave,
I've noticed that the max online in the short stats box hasn't changed on my site since I installed IIP, and I've seen more than 24 people on my site. The cache was set to 30 by default, but I dropped it to 10 to see if it would update (no joy).

I could try setting the cache to 0, but I was wondering if there was a bug in the part of the script that checks for the total online.

Thanks in advance for your time (I know that, like me, you never have enough)!
Posted By: JustDave Re: Possible short stats bug - 10/11/2002 2:35 PM
The Short Stats "max online" is set by the "Whos Online" pal box which is checked at every index page load. If your not displaying the "whos online" information on the index page then this information will not be tracked. This Short Stats information is indeed cached though but as far as the max online data goes it is updated in the cache field at every page load.

The only way this information can be stored is if someone loads the index page so that the "whos online" pal box can count the users and store them. If nobody enters your site through the index page this information will not be stored.

I'm not sure what to say about this though. I have looked things over and can't see where it would be going wrong.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1 - 10/11/2002 3:52 PM
Regarding the average number of messages and since I am really bad at deciphering the way dates are stored in the posts table, I managed to get something going here:

If you use the following query:
code:
SELECT COUNT(*) / (DAYOFYEAR(NOW()) - DAYOFYEAR(FROM_UNIXTIME(MIN(B_Posted)))) As AveragePostsPerDay FROM w3t_posts



then this will return the average number of posts per day. Of course you need to add that query with the usual call to the database and the result to be passed in a local variable, which you will then use it in the shortstatspal.php to be displayed.

Major limitation (and it's my lack of knowledge to blame) is that it uses the DAYOFYEAR function which works for the current year. It works fine for me since my forum was created this year but I haven't found (yet) the way to find the difference in days between the first and last message. Also I have not run any metrics against it. My board has only 5000 messages so I don't know how this will affect others with 10 or 100 times as much messages.

Another workaround for a faster query (to get the COUNT() of messages) is to query the boards table. Alternatively for fastest access one needs to create a table with the date of the first post, the date of the last post and the message count. The last two fields can be updated when a post is made.

Still trying, but I will find it in the end.

Warm regards

Nikos
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1.1 - 10/11/2002 3:54 PM
I possibly had the same face Dalantech as you did but I quickly went into the index.php and changed the 6.1 to 6.1.1

Brute hack but it worked in a second.

Warm regards

Nikos
Posted By: Dalantech Re: Possible short stats bug - 10/11/2002 4:50 PM
Thanks JustDave! I've enabled the "Who's Online" PAL box
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.1.1 - 10/11/2002 4:59 PM
I'll be doing the same thing if there is another point release
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1 - 10/11/2002 5:02 PM
I was thinking of grabbing the date of the earliest post and then when short stats counts the total posts the number could be divided by the total days that have elapsed since the earliest post. This would give a daily average. One could also divide by 7 days for a weekly average too.

The numbers generated could be stored in short stats' cache field so the queries aren't run with every page load too. I will get this in for IIP 6.0
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1.1 - 10/16/2002 6:08 AM
Dave,

How does the "last seen on" work?

I set this up for somebody... and they noted that It doesn't seem accurate. When does it "see you"? At login? or Logout? what if you don't logout?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/16/2002 2:16 PM
This pulls the unix timestamp from the U_Laston field of the user. This field is set and updated by .threads itself while users use the forum. I believe the only script that updates this time is the addpost.php script and ubbt.inc.php when a user logs in.

I know it's not accurate and this is compounded by the fact that it gets cached. A new field would be needed for the users table and one extra query would be needed during the send_header call to update this field with a timestamp to provide accurate "last seen" information. I don't know if such a modification would be wanted by all but I'll add the directions for the next release as an option for those that do.

Posted By: LK Re: Integrated Index Page (IIP) 5.1.1 - 10/16/2002 3:13 PM
I thought about porting your IIP to UBB.classic, but I've just noticed the number of features you have and I have to say it's gonna take me years!!!
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/16/2002 6:02 PM
LoL many sleepless nights and lots of caffine should cut the time down considerably.

(more features have been added to the next version... btw)
Posted By: ExcelsiorDDZ Re: Integrated Index Page (IIP) 5.1.1 - 10/17/2002 5:02 AM
One quick note, last seen shows people that have chosen to be invisible to all users. Please consider this in the next update.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 10/17/2002 1:21 PM
Yes I did this because the information is cached. An admin should be able to see invisible users but in order to display both there would need to be two cache fields for the each set. I didn't think it mattered that invisible users were "last seen" because the information is not accurate nor up to date when assembled. Also, I believe if I do change anything I'll be hidding various boxes from invisible users since they don't want to be seen they shouldn't be able to see anyone else.
Posted By: msula spiderfood? - 10/18/2002 5:38 PM
Hey Dave, I was just poking around for no reason and saw spiderfood.php in the pals dir. I'm asuming it has to do with web spiders and such, but curious as to how it works in relation to IIP, and what the values were you entered in there and if they should be changed or left to what you have or what not.
Posted By: JustDave Re: spiderfood? - 10/18/2002 11:54 PM
The Profile Index section of IIP can optionally use spiderfood.php to generate bogus email addresses to be displayed to unregistered users which should cover spam bots. (though I have seen bots trying to register as a new user around here so I'll be some day someone will have programed them to be able to actually accomplish such a feat) LoL

You can change the values in the arrays to what ever you want in the spiderfood script or add more. I intend to work spiderfood into any IIP scripts that would display users email addresses as time goes on.
Posted By: RC Re: none. - 10/19/2002 3:03 PM
nevermind, i fixed the problem, you can delete this post, thanks.
Posted By: Gregori Re: none. - 10/24/2002 6:04 PM
Is it possible to make polls shown on the index-page "votable" at that page, instead of having users to go to another page (the post with the poll) to put his/hers vote? Would be cool!

Love this Mod! It´s the best I´ve used! And my users loves it too!
Posted By: JoshPet Re: none. - 10/24/2002 8:40 PM
The Poll Pal does allow them to vote directly. If they have already voted, they will see the results.
Posted By: jengalla Re: Integrated Index Page (IIP) 5.1.1 - 11/03/2002 8:12 AM
I'm getting this error.

SQL ERROR: Unable to do_query: SELECT Bo_Keyword,Bo_Title,Bo_Write_Perm,Bo_Reply_Perm,Bo_Read_Perm FROM Boards WHERE Bo_Keyword != '' AND Bo_Read_Perm LIKE '%-4-%'
Table 'filam.Boards' doesn't exist
Warning: Supplied argument is not a valid MySQL result resource in /home/filambasketball/www/ubbthreads/mysql.inc.php on line 83
SQL ERROR: Unable to do_query: SELECT COUNT(*) FROM Users WHERE U_Number > 1
Table 'filam.Users' doesn't exist
Warning: Supplied argument is not a valid MySQL result resource in /home/filambasketball/www/ubbthreads/mysql.inc.php on line 83

I'm running 6.0.2 Do I need an earlier version of IIP?

Plus do I need to remove my Calendar Mod?

Please help.

Posted By: JoshPet Re: Integrated Index Page (IIP) 5.1.1 - 11/03/2002 8:42 AM
I think for 6.0.x you need IIP 4.6 (was the most current).

Somewhere in this thread.

Posted By: Charles pqge title - 11/05/2002 3:22 PM
How would I change the title on main page to something else that "at the entrance" without changing the online wording

thanks
Posted By: JustDave Re: page title - 11/05/2002 3:40 PM
That may be a problem. The same wording from the online.php file in your language section is used in both places. I believe you can add a title in the send_header call when the index page is generated.


In your index.php page try changing this:

$html -> send_header($config['title'],$Cat,0,$user);


to this:

$html -> send_header("some other title here",$Cat,0,$user);




Hope that works for ya.
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.1.1 - 11/06/2002 10:27 PM
Could something like this be included into IIP? https://ubbdev.com/threads/php/...ew=collapsed&sb=5&o=&fpart=1
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/06/2002 10:59 PM
I do think it's a neat feature as far as bells and whistles go. I myself don't intend on creating or porting such a feature for IIP though. Perhaps at a later date when I have covered all of the standard *nuke features I may give the map display a try. After this next version of IIP I'll be working on allowing external modules to be loaded and give an example module so others can add features that I don't plan on doing such as stock quotes and weather information. My main reasons for not doing so is that such features often, if not always, require an agreement between the content provider and the end user and I do not want to create tools to allow users to circumvent such agreements.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 10:19 AM
Is there any way to show the number of replies in the frontpage?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 10:44 AM
In what box? Top Threads, Current Threads, Top Rated?

It's probably possible with some editing. I'm just not sure what you have in mind specifically.
Posted By: sportbikes Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 1:35 PM
I get an "Error on Page" in the bottom of the browser with I try to use Add to Favorties from my install. It seems to work on other sites i vist that have implemented IIP? Checked code in the munepal.php file as loaded and it appears to be the same as original file. Also tried upload to orginal file to confirm error. Running 6.1.1 and 5.1.1. under IE6.

Any ideas?
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 2:12 PM
I mean in the news where after the post it says down how many views this post has, I wonder if next to it can say and how many replies has.
Its a common feature in all the news scripts
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 4:21 PM
I believe it already does that. What's probably happening is that your using "force public" in which case the number of replies is not displayed because the "public" does not have access to reply. I'll change that over for the next version so it shows the number of replies even though they possibly don't have access to make a reply.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 4:22 PM
Nope not off hand. Possibly something getting in the way of the javascript? Open tag or something like that?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/10/2002 4:46 PM
I updated the news script to include the reply information when using "forcepublic". Just download the IIP 5.1.1 zip file from the main IIP post and upload the modified newspal.php script. Remember to refresh your site's cache by using:

http://www.somedomain.com/index.php?RefCache=1

Then you will see the changes.
Posted By: Hal9000 Re: page title - 11/10/2002 11:08 PM
works great. Thanks
Just one minor suggestion

Instead of having for ex. 26 replies Reply, you can have just the first and when you click on it ,to be lead in the reply page
Posted By: Tonyk Re: Integrated Index Page (IIP) 5.1.1 - 11/12/2002 8:23 PM
i followed the directions but i have NO link on the bottom to configure the index page.

what am i doing wrong?
Posted By: edr Re: Integrated Index Page (IIP) 5.1.1 - 11/12/2002 10:28 PM
I just had the same experience with a copy of IIP I downloaded last night. There's also no link. My setup is a new (functioning) install of UBBT 6.1.1. The pals directory is a sub-directory of my ubbt directory which is a subdirectory of htdocs. Index.php is in the top level of htdocs. My Ubbt config.inc.php is outside my web root.
Also, the cookie path has been set to "/".

Hope that's enough info for a diagnosis.
Posted By: Pappy Re: Integrated Index Page (IIP) 5.1.1 - 11/12/2002 11:20 PM
make sure you are logged in as administrator before going to the entrance.
Posted By: edr Re: Integrated Index Page (IIP) 5.1.1 - 11/13/2002 12:27 AM
I am logged in as the administrator. (There aren't any other accounts yet - it's a fresh install of ubbt.) I just realized though that IIP doesn't seem to recognize that I'm logged in since there are "Login" and "Register" links in the top horizontal nav bar. However, when I press the login link UBBT takes me to my Admin Home Page. So, for some reason, IIP is not recognizing my logged in status.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 11/13/2002 3:28 PM
download cookie pal from www.tucows.com
erase all the cookies from your site
try to login again

is clearly a matter of cookies
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/13/2002 4:32 PM
Make sure your cookies are set site wide. That is usually the problem when the index page doesn't recoginize the admin's access.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/13/2002 4:34 PM
Yes, Hal is right. It sounds like a cookie problem. As long as your cookies are site wide the index should recognize your status. Let me know how it goes.
Posted By: edr Re: Integrated Index Page (IIP) 5.1.1 - 11/13/2002 11:47 PM
Dave and Hal,

Thanks - it was a cookie problem but I'm not sure what caused it or how it was fixed. I had IE set to block 3rd party cookies, and when I disabled this (temporarily) I was able to see the link and configure IIP. I later went back to blocking 3rd party cookies and I can still see the link to the admin panel.

Thanks again for your help.

EdR
Posted By: Gardener Table wrappers - 11/15/2002 3:09 AM
Doh. As many others I've been fooled by the cache... Didn't think a couple of the pals used the table wrapper, but it turns out they were just cached. Wouldn't it be a good idea to always load the wrapper dynamically and only cache the content? It shouldnät be that much of a problem though, since the wrappers won't be changed that often and the cache can be reread if I'm not mistaken.

I also wonder why Mozilla doesn't count as Netscape when setting text box width? Is it because the fields aren't as wide as in Netscape or something?
Posted By: ChAoS_dup1 Couple of Newbie Questions - 11/16/2002 5:31 AM
When I upgrade UBBThreads from 6.1 to 6.1.1 will I have to run the Initial Setup for IIP again?

What is the proper way tp upgrade IIP 5.1 to 5.1.1?

Also when setting the number of posts for past News Links IIP forces all three boxes (B1,B2,B3) to have the same number value no matter what number I chose.
eg;Choosing 3 posts for B1,2 Posts for B2,and 1 post for B3 update config will set them all to 3

Thanks for the help
Posted By: JustDave Re: Table wrappers - 11/16/2002 7:03 AM
Mozilla will fall under "other" when selecting size for text boxes. I intend on building up the browser detection to allow for other adjustments at some point. I'll try and keep Mozilla in mind though for 6.0

The main problem with not storing the table wrapper is when storing the news into cache. There is usually more than just one news box and since they all settle into the same storage field. I would have to set a specific limit on the news articles in order to create specific room for each in cache.

Posted By: JustDave Re: Couple of Newbie Questions - 11/16/2002 7:16 AM
Yes you should load the configure panel into your browser and go over the new features and settings. Your old settings should remain in tact.

Going from 5.1 to 5.1.1 you will need to upload all files in the /pals directory except for the subdirectories, configpal.php and create-cache-table.5.1.php.

I have been playing with the number of news posts on my test site, using 3,2,1 and 1,2,3 and 4,1,1 and just about any other combination and I can't get them to do what your's is doing. Perhaps I fixed this in IIP 5.1.1? I dunno...

Anyone else have this problem too?
Posted By: JustDave Re: Couple of Newbie Questions - 11/16/2002 8:05 AM
Forgot to add that you will need to upload the new index.php file also... sorry...
Posted By: Gardener Shout box - 11/16/2002 11:21 PM
I have both username options [*] set to 0, but sometimes when a user who is not logged in comes to the page it is possible to add a shout, which becomes written by Anonymous. Once the first shout is added, the alert box comes up though. Any insight on this?

[*]Should we allow unregistered users to use the shout box? 1=yes 0=no
Should we allow unregistered users to specify a nickname with the shout? 1=yes 0=no
Posted By: Gardener Re: Table wrappers - 11/16/2002 11:22 PM
OK, thanks. No worries on the template caching, it's not a very big deal.
Posted By: JustDave Re: Table wrappers - 11/16/2002 11:31 PM
LoL well since my last post on the subject I have been dwelling on things... as usual. I forget the limit for the number of fields a table can have but I do know it was quite high. I don't think the space the empty fields would use up just sitting around would matter much so perhaps adding a total of 15 "news" fields? But then I was also going to add in (at some point) a way for admins to add what ever posts they wanted to the news section. Perhaps a total of 20? fields and once they are full the add-in posts would need to be selectively flushed to make room for new ones? Or perhaps allow for a choice to overwrite them.

LoL perhaps I'm dwelling to much. The way it is now keeps it simple and lessons the load on php to generate the layout with the data. It's already done and stored in bulk.
Posted By: Gardener Search page - 11/16/2002 11:47 PM
I just found this on the searchpage:

<img width="65" height="75" src="http://www.tradition.se/prodbilderdb/mageknights/SE_150.jpg" alt="<span class="standouttext>Morgoth</span>" />

Note the span-tag in the middle of the alt-text. Not very pretty.
Posted By: Gardener Re: Table wrappers - 11/16/2002 11:53 PM
Yeah, I'd skip it, no need to add a whole bunch of fields to the table, that isn't pretty either.

Posted By: JustDave Re: Search page - 11/16/2002 11:57 PM
Search page? Or is that the "new members" box? I'll go looking for it... Thanks.
Posted By: JustDave Re: Search page - 11/16/2002 11:58 PM
I'll bet you mean the "Profile index" page?... I'll track that down and upload the fix.
Posted By: Gardener Re: Search page - 11/17/2002 12:01 AM
Yup, that's the one. Sorry about the confusion.

While you're at it, remove all language strings from it and use the ones from the language pal instead. And load the showprofile.php language string for the user information (Username, Bio, Name etc.)

A languagepal translated into swedish is coming, I just need to have it spellchecked first.
Posted By: JustDave Re: Search page - 11/17/2002 12:10 AM
I redid the language include for the next IIP. I used pretty much the same sentances/words in the languagepal.php file but have them all in the same array so calling them globally from a function is easier and more straight forward like Rick does with .threads.

I have to finish the "day view" and "single event + comments view" for IIP 6.0's calendar and I'll be able to offer the language file for translation at that point. I have a number of other things to finish up as well but I don't think there will be any language strings needed for them. One of the last things I'll be doing is bolting it on to .threads 6.2 and bondoing the seams and adding a coat of paint... lol
Posted By: JustDave Re: Search page - 11/17/2002 12:11 AM
What was the search you entered that caused the error? Or am I not looking hard enough?
Posted By: Gardener Re: Search page - 11/17/2002 12:17 AM
Nothing fancy, it happens when I search for a specific username. I guess it's caused by the marking up of the username, which is found as the alt text on the profile image.
Posted By: JustDave Re: Search page - 11/17/2002 12:25 AM
I kinda figured that was the problem. I only searched for the name "dave" and it seemed to work... or at least I think it did. LoL I'll try it again and make the fix. Shouldn't be to hard to find and do. Thanks.
Posted By: Gardener Re: Search page - 11/17/2002 12:27 AM
Okey, I guess the swedish translation can wait until 6.0, not many swedish sites will probably start using it until then anyway. Except us, of course. =]

Sounds great on the progress of IIP 6.0, I'm really waiting for it, as many others are. Don't want to have you spend time on 5.x either, but I'd like these few things fixed before I go live with it.

Another thing, people say that it says "Add to favorite" even though I have translated this and can't find any more strings in the code. Is this magically inserted, or am I blind? I was thinking it was a cache problem, but nothing changed when I asked a user to use the RefCache=1 argument.
Posted By: JustDave Re: Search page - 11/17/2002 12:34 AM
I'll bet that's hidden in the javascript of the menupal for that IE function. I'll pull it out and put it in the languagepal.php script right now. I have fixed the alt tag problem with the profile index page. It's working here now.

I'll upload the updated zip file. I will also append the instructions with what changes I have done and date them. This will help when figuring out what to upload for those that already have it installed.
Posted By: Gardener Re: Search page - 11/17/2002 12:41 AM
Thanks, can't hardly wait. =]
Posted By: JustDave Opinions needed... - 11/17/2002 12:54 AM
The way the news section displays the post's info and options is as such:

311 views · 10 replies · Reply


Would putting a link in "views" to the post so users can view the post and it's replies along with putting a link in "replies" so users can make a reply and removing the "Reply" link be better?

Or do this:

311 views · 10 replies · View · Reply


And make a new "View" link to go with the "Reply" link?

Just want to cover something suggested by Brewskie
Posted By: Gardener Re: Opinions needed... - 11/17/2002 1:31 AM
I'd say adding a "View" link is the best, it will be easiest to understand.

I won't be using the news section though, so I don't really care. =]
Posted By: JustDave Re: Opinions needed... - 11/17/2002 1:37 AM
hehehe... ok I'll put that in right now. Was just waiting for someone else's opinion... lol
Posted By: Gardener Re: Opinions needed... - 11/17/2002 1:49 AM
Sounds good.

And now for something completely different:
Since our page design is restricted to 800 pixels, the attachment list is way too wide (at least when users have too long filenames, so I'm thinking of always show it in full mode. Hope that's an easy hack. =] The Profile Index is a bit too wide also, because of some long Extra Information fields that we use (or rather, will be using when we open IIP), but that can be fixed by rearranging the search box at the top I think.

Bonus odd thing:
The complete poll list shows a poll from a closed board (which my user have access to, but the name of the board doesn't show in the list, it's just empty.
Posted By: JustDave Updated IIP 5.1.1... - 11/17/2002 2:17 AM
I'll look things over and see if there's a simple way to keep that in full mode. I intend to use a cookie to store the viewer's display mode with the next version. Since the next version is templated it will also be just a matter of displaying the specific page in a "full mode" by default.

I know what's causing this:

The complete poll list shows a poll from a closed board (which my user have access to, but the name of the board doesn't show in the list, it's just empty.

It's the fact that your using "force public" and when I initially grab the board's information the limited access board doesn't have any title information available. I had to modify the attachment's list to adjust for the force public option. I'll do the same for the poll list as well.

I just updated IIP's main post with a new zip file and appended the information I placed in a new "CHANGES.txt" file included in the zip so everyone can tell what was modified last so they know what needs to be uploaded.
Posted By: Gardener Re: Updated IIP 5.1.1... - 11/17/2002 2:24 AM
Yummy! I'll install it right away and see what I can break. =P

The attachment list is only too wide when there is a filename with a really long name (something like 30 characters), but unfortunately it seems quite common, especially because of the added extra numbers by threads. Maybe the name could be clipped, but that would make the extension disappear... If there is a subject with a really long name without spaces it can also screw things up, not so common though, but I've seen it.

Yup, I'm using "force public", anything to make things go faster. If it only happens for us admins it doesn't really matter, we don't use polls that often anyway.
Posted By: JustDave Re: Updated IIP 5.1.1... - 11/17/2002 2:32 AM
I've considered putting in a function to chop words over X length so various layouts are not stretched. I have yet to tackle this but it's on my list.

If I remember right the fix I applied to the attachment's list wasn't hard to put in. I think I simply reauthed the viewer. I'll do the same for the poll list as well. This problem has been banquished in the next version. Each page auths on it's own since they are not part of the index it's self. This also allowed for each section to have it's own "online" language string so we can see if their making a recommendation, viewing attachments or searching profiles...
Posted By: Gardener Profile Index using language pal - 11/17/2002 3:20 AM
I've changed the profilepal.php to make use of information from the languagepal and moved all text strings into the languagepal.

A zip with new profilepal.php and languagepal.php is included. Just unzip and upload into your directory if you want to use it.


Edit note: I have included the changed files in IIP's zip file located in IIP's main post. Thanks Gardener!
Posted By: JustDave Re: Profile Index using language pal - 11/17/2002 3:23 AM
Thanks Gardener

I'm tracking down that polllist bug. It's happening here to me with the "archives" Allen has hidden from everyone including admins.

I should have this fixed yet tonight. I'll add your files to the zip when I get this fixed and upload the entire zip.
Posted By: Gardener Re: Profile Index using language pal - 11/17/2002 3:37 AM
Hope I'm not keeping you too much from getting any work done on 6.0. =]

I found that I'd missed two language strings:
$pal_ProfileIndex[27] = "Default search used. Please reformat your search query and try again.";
$pal_ProfileIndex[28] = "for word(s)";

Also, there are missing leading { for $pal_ProfileIndex[15] and $pal_ProfileIndex[16] in the profilpal.php script.

I've already hacked this one, so I hope it's not to much of a trouble to add the changes yourself.
Posted By: JustDave Re: Profile Index using language pal - 11/17/2002 3:45 AM
LoL I just uploaded the zip. I'll get them in and re-upload... I don't think I'll append the changes to the list... lol the main post is getting pretty long tonight... LoL
Posted By: JustDave Re: Profile Index using language pal - 11/17/2002 3:53 AM
Ok I got them fixes in and uploaded the zip again.

I also edited your post stating that the files are in the main zip. Hope you don't mind.
Posted By: Gardener Re: Profile Index using language pal - 11/17/2002 3:55 AM
How rude!!! I can't believe hearing about this violation of my rights and personal integrity!!!

Or not. =] Good work.
Posted By: Gardener Re: Profile Index using language pal - 11/17/2002 4:39 AM
Just to bug you a bit more: The user status is just read from the database, a couple of lines need to added to the profilepal script, and three lines to the languagepal.

#
# Find these lines
#

if ($totalprofiles > 0) {
while (list($palUsername,$palFakeemail,$palname,$palTotalposts,\
$palHomepage,$palOccupation,$palHobbies,$palLocation,$palBio,$palICQ,$palExtra2\
,$palExtra3,$palExtra4,$palExtra5,$palRegistered,$palPicture,$palTitle,$palStat\
us,$palUNumber,$palRegIP,$palPicHeight,$palPicWidth,$palAcceptPM) = $dbh -> fet\
ch_array($sth)) {

#
# Add this below:
#

if ($palStatus == "Administrator") {
$palStatus = $pal_ProfileIndex[31];
} elseif ($palStatus == "Moderator") {
$palStatus = $pal_ProfileIndex[30];
} else {
$palStatus = $pal_ProfileIndex[29];
}

Add these lines to the languagepal.php:

$pal_ProfileIndex[29] = "User";
$pal_ProfileIndex[30] = "Moderator";
$pal_ProfileIndex[31] = "Administrator";
Posted By: Gardener Clickable e-mail in Profile Index - 11/17/2002 5:00 AM
Here's just a small update that makes e-mail links clickable in the profile index, as well as breaking up long addresses in two lines.

#
# Find this code in profilepal.php:
#
code:

if ($profindexemailhide && !$user['U_Username']) {
$palFakeemail = screwy_Mail($palFakeemail);
}


#
# Change it into this:
#
code:

if ($profindexemailhide && !$user['U_Username']) {
$palFakeemail = screwy_Mail($palFakeemail);
} else {
if (strlen($palFakeemail) > 25) {
$showEmail = substr($palFakeemail, 0,
strpos($palFakeemail, "@"));
$showEmail .= "<br />";
$showEmail .= substr($palFakeemail,
strpos($palFakeemail, "@"));
} else {
$showEmail = $palFakeemail;
}
$palFakeemail = "<a href="mailto:$palFakeemail">$show\
Email</a>";
}



I also did a small change to add icons in front of all action items next to the profile images, just like on threads profile page. But I'm afraid that JustDave will kill me if I show any more changes. ;]
Posted By: JoshPet Re: Profile Index using language pal - 11/17/2002 11:02 AM
A suggestion/question.....

I don't know if there's a way to have "unlimited pals" on the fly or not...
or an easy way for add ons to be included in the online config option (for placement).

I just put together the "birthday pal" which works with the birthday mod.

IIP is very user friendly (install wise).
The easiest way for someone to add in and add-on like mine, or the photpost pal etc... is to simply rename it customboxpal1 or customboxpal2 etc.... Then they can choose it's position in the control panel without having to do any hacking.

I guess 3 should be enough... but it wasn't for me. I had to hard code the include in somewhere.

Posted By: JustDave Re: Profile Index using language pal - 11/17/2002 4:14 PM
Since 6.0 is template based it will allow for the addition of what ever box you want into the template.
Posted By: JustDave Re: Clickable e-mail in Profile Index - 11/17/2002 4:19 PM
I hadn't considered adding the icons but the email link is already clickable in 6.0

If I use the icons I may have to find one for the "show all users pictures" link which takes viewers to the picture gallery thingie I have started. Also, at some point I may add in links for users to view another's personal calendar (provided they allow public viewing).



The changes you suggest though are not that hard and I should be able to get them in 5.1.1 quick enough. I'll do that sometime today.
Posted By: Gardener Re: Clickable e-mail in Profile Index - 11/17/2002 7:17 PM
If you have a "Show all users' pictures", why not also add a "Show all users' files" as well?

I also did a small hack so that the random profile only shows profiles with pictures, otherwise I'd get mostle profiles with just a name and nothing else. Those who have pictures generally also fills in their user info. I had to add one query though, since I didn't feel like changing the way it chose the random profile...
Posted By: JustDave Re: Clickable e-mail in Profile Index - 11/18/2002 4:03 AM
I had considered only showing profiles with pictures or that contained more complete information when I first created the box but it was that extra query that made me decide not to. I spose I could make it an option so if they want the extra query ran they could elect to do so.
Posted By: Gardener Re: Clickable e-mail in Profile Index - 11/18/2002 4:06 AM
Since it's cached, that extra query will only happen once every X minutes anyway, which won't make that much of a difference. So I'd say it's a good idea to add that as an option.
Posted By: JustDave Re: Clickable e-mail in Profile Index - 11/18/2002 4:16 AM
That's true. I wasn't caching at that time. I'll definately have this in for the next version.
Posted By: JoshPet Re: Clickable e-mail in Profile Index - 11/18/2002 4:16 AM
You'd mentioned that you might be using the Profile Status Bars.

If that's the case... I've included instructions in that thread which only pull profiles that are like 60% complete.
Posted By: Gardener Re: Clickable e-mail in Profile Index - 11/18/2002 4:38 AM
Yes, I've actually installed it on my test site now, where I think I have everything that I will be using now, it just needs to be tested a bit more. I will be using a lot of hacks, I think there are 18 at the moment (not counting small changes and the ones I've forgot about). It won't be fun to upgrade...

But I think I'm going to use the one that checks for profile image, since it looked so empty with just the standard image. Maybe that will make more people upload an image of their own as well.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/18/2002 4:52 AM
Just a bump...

I fixed a small bug in the index.php page that was counting all uses. This would be a problem on sites that are aproving new users.

Download the zip from IIP's main post and upload the new index.php page.


Or....

In your index.php page find this:

code:

$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Users
WHERE U_Number > 1
";




and change it to this:


code:

$query = "
SELECT COUNT(*)
FROM {$config['tbprefix']}Users
WHERE U_Number > 1
AND U_Approved = 'yes'
";





and that should do the trick.


I swear I fixed this once. Or maybe it was something else... lol I think I need sleep.
Posted By: Gardener Wide attachment list - 11/18/2002 5:33 AM
Since I needed to change something to be able to use the attachment pal I did the following changes:
  • Any leading numbers followed by a '-' is removed.
  • The file extension is separated from the filename and put in it's own cell
  • If the filename is too long (more than 25 characters) it's cut off.
  • The complete filename is inserted as a title to the link
  • The thread subject is cut at 25 characters as well.

I also did the username into a link to the profile, and aligned the hits and comment fields to the center and right, respectively.

If anyone wants this functionality, just let me know and I'll write it up.
Posted By: JustDave Re: Wide attachment list - 11/18/2002 5:36 AM
Sounds like some nice changes. Is there a place I can see them?
Posted By: Gardener Re: Wide attachment list - 11/18/2002 5:41 AM
Just thought of something, it would be even nicer with an image instead of just showing the extension. Is it allowed to copy the icons that comes with Apache?

Update: Just read the readme and they are in the public domain and can be freely used in any application. Yay!
Posted By: JoshPet Re: Wide attachment list - 11/18/2002 6:17 AM
What icons?

I was searching for decent filetype icons for my Attachment Image hack. Never did find any I was 100% happy with.
Posted By: Gardener Re: Wide attachment list - 11/18/2002 6:25 AM
It's a set of icons that comes with the apache distribution, they are used for directory index views if there isn't an index page in the directory (and the server configuration allows for listing the directory content).

I'll add an image showing all the files included. They serve their purpose, but not much more.

Attached picture 60630-icon.sheet.gif
Posted By: ChAoS_dup1 Re: Couple of Newbie Questions - 11/18/2002 8:33 AM
should I delete create-cache-table.5.1.php after the initial install?
Posted By: JoshPet Re: Couple of Newbie Questions - 11/18/2002 8:41 AM
Yeah,
once you've installed you should remove that from your server, so nobody can run it.
Posted By: ChAoS_dup1 Re: Couple of Newbie Questions - 11/18/2002 8:49 AM
You might want to add that info to the readme file as thats pretty important
Posted By: Dalantech Going from 5.1 to 5.1.1 - 11/18/2002 10:35 AM
Hey Dave,
What files do I need to upload if I'm going from 5.1 to 5.1.1? Thanks!
Posted By: edr Question re: uninstall - 11/18/2002 12:21 PM
Hi Dave,

A question:

If I want to upgrade UBBThreads to a newer version do I need to first uninstall IIP and then reinstall it? Is there an uninstall guide? I'm not doing this now, but asking in anticipation of future needs.

EdR
Posted By: JustDave Re: Couple of Newbie Questions - 11/18/2002 2:45 PM
The create cache table script can only be ran by an admin and it will only install the table if it doesn't already exist. It's safe to leave it alone but if you need the space go ahead and delete it.
Posted By: JustDave Re: Going from 5.1 to 5.1.1 - 11/18/2002 2:50 PM
There are two posts starting here that will explain this:

https://www.ubbdev.com/threads/php/showthreaded.php?Cat=&Board=integration&Number=60461

The second post was just me noting that the index.php page will also need to be uploaded.
Posted By: JustDave Re: Question re: uninstall - 11/18/2002 2:53 PM
If your upgrading to 6.1.1 I from an older .threads version I would uninstall the older IIP as well. IIP 5.1.1 is better suited to the current .threads version.
Posted By: JoshPet Re: Couple of Newbie Questions - 11/18/2002 5:14 PM
[] The create cache table script can only be ran by an admin and it will only install the table if it doesn't already exist. It's safe to leave it alone but if you need the space go ahead and delete it. 
[/]

Well aren't you clever. Good to know.
Posted By: ChAoS_dup1 Is this a valid suggestion? - 11/19/2002 8:00 AM
Users may want to edit the forum that was created for their shoutboxes so that it expires threads after a while otherwise it will just keep filling up.(Not sure if that takes up a lot of space or not).
My forums are set to "0" so they wont expire threads but my shoutbox I set to 30 days.
Can you add that into the config mode at all or have it set automatically?
Posted By: JoshPet Re: Is this a valid suggestion? - 11/19/2002 9:35 AM
Dave can correct me if I'm wrong... but Shoutbox is configured to only display x number of shouts.

So old shouts after x number.... are deleted by the shoutbox script. That way the board doesn't fill up.

Posted By: JustDave Re: Is this a valid suggestion? - 11/19/2002 2:14 PM
Josh is correct. The shout buffer is deleted automatically after X number of shouts are reached.
Posted By: ChAoS_dup1 Re: Is this a valid suggestion? - 11/20/2002 6:47 AM
you guys think of everything
Posted By: Dalantech Re: Going from 5.1 to 5.1.1 - 11/20/2002 1:25 PM
Thanks!
Posted By: SchoolScandals Re: Integrated Index Page (IIP) 5.1.1 - 11/25/2002 7:34 AM
In the Short Stats part. I was wondering why the format isn't consistant and if there is a way to fix it.

For example, some words have the first letter Capitalized and the "Boards" part doesn't ...Also, only the New Member section has a dash between the number and text.

Anyway, sorry for sharing my O.C.D.
Posted By: sportbikes Re: Integrated Index Page (IIP) 5.1.1 - 11/25/2002 8:59 AM
Can any shed some light on why some usernames show up in bold in the Online Pal box?

Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/25/2002 2:27 PM
Bold Italic users are invisible and only seen by admins.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.1.1 - 11/26/2002 7:56 AM
Ok I know I'm really using a dull axe on the html here but I've managed to get my header and footer to expand and contract when dragging the browser window but I cant get the main body to do it.I still have to scroll right and left to view the whole page.

Can ya take a peek?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 11/28/2002 3:59 PM
The .jpg file you have for your header, efslogo(1).jpg, is 966 pixels long. Shortten it to about 700 and see if that helps.
Posted By: lauraz Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 2:55 PM
help! I have read through most of the posts in this thread so I could try and figure out the problem myself but I can't...

It's this old chestnut again: I can't see the IIP link to congfire it...

I am running 6.1.1
I have cookies running site wide
I have deleted all my cookies
I was logged in as administrator when I went to the page.
I have tried it with the index page out of the threads directory, and in the threads directory...

please help.

thanks v much.

Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 4:14 PM
Cookies are site wide, your logged in, and there is no link within the copyright statement at the bottom of the page? It looks as if you have removed Infopop's copyright notice from the bottom of your forum. (only users with previous wwwthreads licenses can legally do this) IIP's link tacks itself on to that. That's probably why your not seeing it.

You could add a link into your menu.php located in your .threads directory so it's available from the admin area. You need to load editconfigpal.php into your browse located in the pals directory.

Hope that helps.
Posted By: lauraz Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 5:25 PM
Arr I thought it might be that. but I wasn't sure...

Thanks I'll try it and let you know how I get on.

Posted By: ffbmc_dup1 Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 7:09 PM
I need help too...

This is the path in my index.php file:

$palspath = "http://www.ffbmc.com/ubbthreads";

I have uploaded the pals directory to my ubbthreads directory.

I uploaded index.php to the ubbthreads directory.

I set my cookies to site wide.

When I go to http://www.ffbmc.com/ubbthreads/index.php I get a blank screen!!

In configpal.php I have this line:
$pal_index['URL'] = "http://www.ffbmc.com/ubbthreads";


I can't think of anything else to check/try??? HELP???
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 7:19 PM
$palspath is the full server path to your threads install.

It should be the same as $thispath in main.inc.php located in your threads directory.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 9:24 PM
There might be a problem with your domain.

I followed the link you gave http://www.ffbmc.com/ubbthreads but that came as a blank screen.

I did though get to your main page and clicking on the link for the message board, it came up as http://ffbmc.com/ubbthreads

I would suggest that you change your $palspath variable to "http://ffbmc.com/ubbthreads"

This might solve your problem

Warm regards

Nikos
Posted By: ffbmc_dup1 Re: Integrated Index Page (IIP) 5.1.1 - 12/04/2002 11:26 PM
yup, $thispath was /home/ffbmc/ubbthreads. I changed palspath to that it fixed it. THanks for the tip!
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 6:46 PM
Is there any way to see in the frontpage the posts I write in a private forum in order to test some things?

If I do this ,no post appears
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 6:50 PM
Set "force public" to 0 and any related cache times for the particular box your testing to 0 also. That should do the trick.
Posted By: Lunatik Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 8:30 PM
Feature Request - Can you add a feature to NOT display polls if the thread is closed.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 9:44 PM
The polls in posts can still be voted on even if it is closed. Shouldn't they both be the same?
Posted By: Lunatik Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 11:54 PM
hmm I never noticed that. I wonder why they still allow polls if you close the thread. might have to ask rick about that one.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 11:55 PM
I only changed force public at 0 and it worked just fine. Thanks
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/05/2002 11:59 PM
I think one of the reasons Rick has it that was is to allow admins/moderators to post polls but not allow anyone to post replies. All they would want is votes.
Posted By: Lunatik Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 12:00 AM
Very true. Maybe they should add a close poll option to not allow any more polls.
Posted By: ehm Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:08 AM
Dave.
Probably is's my mistake, but there is something missing on the 'Entrance' link. If I click it, is not point to right place on my forum. It is pointing to:
http://www.mysite.com/index.php
and should be :
http://www.mysite.com/forum/index.php
I checked the path on the only place I saw it and it's right (http://www.mysite.com/forum)
Looks how it loooks like on 'ubbt_registerednav.tmpl' =
------
<a href = "$phpurl/$FrontPage.php?Cat=$Cat" $target>{$ubbt_lang['FORUM_IND']}</a>
|
<a href = "{$config['homeurl']}/index.php?Cat=$Cat" $target>Entrance</a>
|
----------------
As you can see, the construction of the instruction are different.
Plase adivse if I should change it manually or else.

BTW. It's a great job you did with thiw IIP.
Elton
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:17 AM
Change {$config['homeurl']} to $phpurl and it will point to your forums index. Many users use it as their main page which *should* be {$config['homeurl']}
Posted By: ehm Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:33 AM
One more question:
The users still comming to the regular 'Main Index' (ubbthreads.php) page, since this was their option when the config their custom screen. There is any way to send they to 'Entrance' page?
Posted By: ehm Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:35 AM
Last question (today).
How can I use Languages on all those words in the 'Entrance' page?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:37 AM
This modification should allow you to let your users choose where they want to go:
https://ubbdev.com/threads/php/...collapsed&sb=5&o=all&fpart=1

Hope that helps.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/06/2002 2:41 AM
You will need to edit the languagepal.php file for each language and place it in the related .threads language file then modify the index page to call the language from there. I threw 5.+ IIP together from parts of stuff I had laying around in different stanges of the current version I'm working on.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 12/07/2002 4:11 PM
Is there any way to include a picture in the post ,exactly where I want it ? For example I want to put a small pic at the left and allign text right next to it.
Is this easy to happen or does the post system of ubbt makes it difficult ?

Any date for IIP 6.0 ?

Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/07/2002 7:03 PM
If posting with HTML on you could set the image to align left and the text should flow around it.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.1.1 - 12/07/2002 10:06 PM
Of course

Still any release date for IIP 6.0 ?
"before 2003" is still valid?
Posted By: Gardener Invisible users shown in Last Seen pal. - 12/20/2002 4:21 AM
Sorry to answer to such an old post, but it is on the subject I wanted to talk about.

Invisible users are shown in the last seen box, which makes it quite easy to see if they are on anyways. I'd say that this is very bad considering that they make themselves invisible for a reason, whatever that may be, and if they are still shown in some places this might be very upsetting.

I just noticed this because I turned myself invisible (I've gone into hibernation at the moment, need a break from some of my users...) and saw myself in the last seen box. Not that big of a problem for myself, but still something to consider.

If it is the fact that there'll be two different cache versions that is the major problem, my suggestion is to just have the one where invisible users aren't shown. They still show up for admins in the online pal which I'd say is sufficient.
Posted By: JustDave Re: Invisible users shown in Last Seen pal. - 12/20/2002 4:27 AM
I had thought of doing the dual cache for that as a solution as well. I will try and make some time to work on 5.2 this coming week and get that in.
Posted By: Gardener Re: Invisible users shown in Last Seen pal. - 12/20/2002 4:35 AM
That sounds great! Although I don't really feel like having to do more translating when I install the new version. =P
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 3:58 AM
I'm having a problem with the News section - sometimes a large section of text appears - way beyond the 150 characters I have set. It appears to maybe be reated to the size of the paragraph? (not sure)

Is this a bug?

http://www.extremefitness.com
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 4:16 AM
With it set to 200, I'm getting 985 charactrers (added the $postcut in ()'s to the ...).

$tagbreak1 = blank
$tagbreak2 = 983
$postcut = 985

$postbody[$i] = 200
Posted By: JustDave Re: Invisible users shown in Last Seen pal. - 12/21/2002 4:32 AM
If the cut is in the center of an html tag it tries to move the cut to the end of the next closing tag. That may be the cause of what your seeing. It's not a bug.


Hope I made sense... lol
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 4:36 AM
Well, looking at the code, I can see kind of what you are doing. I wonder if it would make sense to take that closing tag and move it back to the 200th position so avoid having 1,000 character previews...?

Its going to a <br /> tag... hmmm
Posted By: JustDave Re: Invisible users shown in Last Seen pal. - 12/21/2002 4:44 AM
I haven't looked at that portion of the code for a while so it may very well be a bug I guess. When I get a chance I'll test it some more and see what I can do to make it better.
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 4:48 AM
Well, here's what I see, if it helps any.

You search for closing tags after the position I want to cut it off. I assume that this is in case we are trying to chop off an HREF tag or something. Or maybe a closing <b> tag.

The problem is, it appears to consider "unimportant" formatting tags line <br /> via $tagbreak2.

Obviously there is a need to have this - just wonder if we can improve it to ignore some tags. Do we really need the $tagbreak2 check?
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 5:06 AM
I took out the postcut on $tagbreak2 and it cleaned up my page. Curious to know what this might break down the road.
Posted By: JustDave Re: Invisible users shown in Last Seen pal. - 12/21/2002 5:17 AM
I had the image tag in mind with this one. I didn't want to cut it in the center. I'll try and make a work around for the <br /> tags.
Posted By: PhotoPost Re: Invisible users shown in Last Seen pal. - 12/21/2002 5:23 AM
Ah, makes sense. Look forward to seeing what you come up with. I love this Add-On!
Posted By: Gardener Concerning the shout box - 12/21/2002 8:50 PM
One of my users brought to my attention that it is quite easy to post shouts under someone elses name. I haven't checked this, but if it is correct it should definately be fixed. The name entered should be read from the db and not the post variable, if it isn't already.

There is also a bug that allows unregistered users to add anonymous shouts even when it is turned off. For some reason it is possible the first time they go to the Entrance page. The check that they aren't allowed to write shouts should also be done when the shout is entered.

My users are really anxious to have an auto-refresh on the iframe as well. I will probably add this myself when I get the time.
Posted By: JoshPet Re: Concerning the shout box - 12/22/2002 12:28 AM
[]My users are really anxious to have an auto-refresh on the iframe as well. I will probably add this myself when I get the time.
[/]

I had a client ask me about that.... but I didn't know how.
Let me know if you figure out how to refresh the iframe.

Thanks.
Posted By: JustDave Re: Concerning the shout box - 12/22/2002 2:14 AM
I'll get that patched up. Thanks.

I'll add the option to have auto refresh in the configure section. I had had it in once when creating it but decided I didn't like the idea of everyone leaving the page open and having it refreshing and sucking up bandwidth. LoL but that's just me.
Posted By: JustDave Re: Concerning the shout box - 12/22/2002 2:16 AM
The auto refresh can be added using the refresh meta tag in the shoutdisplaypal.php script.

I'll get this in for 5.2 though as an option in the configure panel.
Posted By: Gardener Re: Concerning the shout box - 12/22/2002 12:59 PM
Yeah, it could waste some bandwidth, but I'd rather get the users off my back. =] Besides, the shoutboxdisplaypal doesn't send that much data each time so it won't be too bad.

But just adding an auto-refresh isn't so good, because that can easily make it reload while you are typing, which is not a good option. Either the input field should be moved out of the shoutboxdisplay pal and outside the iframe, or there should be some javascript checks that the input box isn't focused before doing a reload.
Posted By: JustDave Re: Concerning the shout box - 12/22/2002 4:11 PM
Good point. Perhaps a javascript count down and reload of the page. An onfocus would stop the countdown and an onblur would start it.
Posted By: donnti Entrance - 12/22/2002 6:21 PM
where do I change the entrance on the top nav bar? what I am getting is that it is trying to go to my main web site but I have it going to the 2nd page so when I hit the entrance it shows this http://www.donnti.com/midi/home.htm/index.php?Cat=

Notice the home.htm in the url. I get a CGI Error due to this . how can I correct this?

I dont know much about this PHP yet and dont want to mess anything up.

I do love this index and thanks putting in your time and effort on makinging one.
Posted By: JustDave Re: Entrance - 12/22/2002 8:36 PM
Edit ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl files in your templates/default directory. You can point the link to where ever you want.
Posted By: JustDave Re: Concerning the shout box - 12/23/2002 12:59 AM
If the referer check is off then it may be possible to post to the shoutbox with other names. I'm looking things over right now. Trying to get IIP out of my way... lol
Posted By: donnti Re: Entrance - 12/23/2002 2:20 AM
Thank you JustDave for the help.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.1.1 - 12/23/2002 4:21 PM
[]
Still any release date for IIP 6.0 ?
"before 2003" is still valid?
[/]

I'll be releasing IIP 5.2 next.

Posted By: Liahona_dup1 Re: Integrated Index Page "STEP 5" - 12/23/2002 6:30 PM
Hi

I have just uploaded the IIP 5 and only got as far as step 5.

[] Step 5.

Load the index page into your browser and [:"red"] click on the IIP copyright link at the bottom
of the page to access the configure panel [/] . Follow all steps in the "INITIAL SETUP"
box for new installations and then set the other box values as desired. [/]

?? click on the IIP copyright link at the bottom
of the page ??

All I have at the bottom of my page is the Infopop logo that takes me to www.infopop.com/landing/goto.php?a=ubb.threads.......

and the following TEXT only [:"red"] NO links [/] .

UBB.threads™ 6.1.1
.: IIP 5.1 by David Lozier ©2002 :.

Where have I to go to access the configure panel.






Posted By: JustDave Re: Integrated Index Page "STEP 5" - 12/23/2002 6:35 PM
First make sure you are logged in as an administrator. If you are logged in and you are the administrator make sure your cookies are set site wide if IIP's index is not being used in your .threads directory.

The cookie path should be set to / if your index is outside of the .threads directory. You can edit your cookie path from the admin section of .threads. It is located in the configure file.

If the above criteria are met you *should* have a link to set up IIP.
Posted By: Liahona_dup1 Re: Integrated Index Page "STEP 5" - 12/23/2002 7:57 PM
Hi

I thought it was to easy to work first time.

Lets get this part fixed first.

When I run the index.php (iether overwriting the one in the ubbthreads dir or putting it somewher else) It takes me to a page that says ....

====================================================
Main Index | Search | New user | Login | Who's Online | FAQ | User List


Index Closed

We are currently updating this page...


Contact Us Title for link

[Infopop logo]
UBB.threads™ 6.1.1 (text only)
.: IIP 5.1 by David Lozier ©2002 :. (text only)

=============================================

As you can see it thinks I am not logged in so I click login and it takes me to MY HOME forum page which now shows me as being logged in as ADMIN
===========================================
Admin | Main Index | Search | My Home | Who's Online | FAQ | Logout | User List


My Home for Liahona

========================================

And if I click the Main Index on the index.php page this leads me to the forum's main page

========================================
Admin | Main Index | Search | My Home | Who's Online | FAQ | Logout | User List


General Discussion Threads Posts Last post Moderator

Which also says I am logged in as administrator

========================================

The path to my ubbthreads install is the same as in the ubbthreads config at "Path to the main UBB.threads install"

========================================

The cookie path should be set to / if your index is outside of the .threads directory..................

In ubbthreads config............
If you are using cookies you can specify a path as well. Leaving this blank will make the cookies only available under the UBB.threads install directory. Setting this to / will make them available to your entire website.

This is /


Any more ideas?

THX


Posted By: JustDave Re: Integrated Index Page "STEP 5" - 12/23/2002 8:01 PM
If you send me an URL and some login information for admin I'll take a look. It should be working with what you have stated. Not sure what is going wrong.
Posted By: Liahona_dup1 Re: Integrated Index Page "STEP 5" - 12/23/2002 10:33 PM
Hi

It's okay I think I have done it.... and it looks great.

But the link at the bottom that I was suposed to click did not appear until I had filled out the file.

What I am trying to say is I edited the file via the address bar not the link at the bottom of the page, although it is there now.

THX... good job in the end

oh BTW I have to disable my Internet security so I can post.
Posted By: JustDave Re: Integrated Index Page "STEP 5" - 12/23/2002 11:25 PM
I wonder if your internet security was blocking the cookie? I'm sure it was a cookie issue but glad you got it running.
Posted By: JustDave Re: Invisible users shown in Last Seen pal. - 12/24/2002 1:59 AM
I fixed the tag break problem by also checking to see if there is an HTML tag starting before the post cut position. If there isn't then the post is cut right at the designated value.

This *seems* to be working.
Posted By: Gardener Re: Concerning the shout box - 12/24/2002 4:07 PM
Yup, that's exactly what I was thinking of.
Posted By: DarylCA Re: Integrated Index Page (IIP) 5.1.1 - 05/23/2006 3:20 AM
Is there a version for ubbthreads 6.5???
Posted By: DarylCA Re: Integrated Index Page (IIP) 5.1.1 - 05/23/2006 3:22 AM
Just found it in the sticky topic, therefore, please disregard.
© UBB.Developers