php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#247128 - 05/20/03 07:56 PM Beta-[6.0-6.1-6.2-6.3] Generic Threads Page
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: Generic Threads Page <br /> <br />Description: This is a very basic - generic page which uses threads headers and footers, stylesheet - table wrappers etc.... and allows you to paste your own HTML in the file. <br /> <br />Working Under: UBB.Threads 6.0-6.1-6.2-6.3 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: none <br /> <br />Author(s): JoshPet <br /> <br />Date: 05/20/03 <br /> <br />Credits: I think Wrath posted the first "basic page" here long ago. <br /> <br />Files Altered: none <br /> <br />New Files: generic.php (you can rename this to anything you like - and duplicate it for as many pages as you wish.) <br /> <br />Database Altered: none <br /> <br />Info/Instructions: This is really basic - doesn't use templates. But useful if you wish to quickly make a page of your own, look like UBB.Threads. <br /> <br />Instructions: Edit the page title and path to your UBB Threads install at the top of the generic.php file. Place anywhere on your website. Duplicate and rename the page as needed. <br />Paste your HTML where indicated - near the center of the file. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />If you would prefer a templated version - it's attached here. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
81311-generic.php.zip (215 downloads)



Edited by JoshPet (05/20/03 08:36 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247129 - 05/20/03 08:06 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
That's pretty nifty Josh! Will it work with the sidbarpal?
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#247130 - 05/20/03 08:08 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yup. <img src="/forum/images/graemlins/smile.gif" alt="" /> It will - as it uses the threads headers and footers. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247131 - 05/20/03 08:10 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
<img src="/forum/images/graemlins/yay.gif" alt="" /> <img src="/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#247132 - 05/20/03 08:15 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Hmm maybe I should post the one that uses a template system <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />Nice work Mr. Banana. I think there are about 5 version lying around this forum for this one in various stages of development.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247133 - 05/20/03 08:36 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK -<br /><br />Here is a templated version.<br /><br />Instructions: Edit the path and page title at the top of the php file. Rename the file and the template to the name of your choice. <br /><br />In the php file - where it requires the .tmpl file - be sure to edit the name if you've renamed it. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Put your HTML into the tmpl file. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />The php file can be anywhere on your website - the template should be in the /ubbthreads/templates/default directory. <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
81320-GenericPageTemplated.zip (158 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247134 - 05/20/03 09:12 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL I knew if I said I would post the template version you would do it <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247135 - 05/20/03 09:13 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
You must know the Jedi Mind Trick!!! <img src="/forum/images/graemlins/bigshock.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#247136 - 05/20/03 09:18 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL<br />Wasn't trying to outdo anybody - it just was real quick and simple. <img src="/forum/images/graemlins/smile.gif" alt="" /> Might as well have it available for people who want that as well. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247137 - 05/20/03 09:21 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Nah Back when Josh first wrote this I put it into a template cause I was big on integration and keeping all my eggs in a row. I knew if I meantioned something Josh would post the template one. Threads moved into using templated systems and so should our hacks.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247138 - 05/20/03 09:26 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Hmmm.... I really should post that hack for fully integrating CafePress into Threads.....<br /><br />(waits for Josh to post it first) <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#247139 - 05/20/03 09:40 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL You can do that. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247140 - 05/21/03 02:30 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]AKD96 said:<br />Hmmm.... I really should post that hack for fully integrating CafePress into Threads.....<br /><br />(waits for Josh to post it first) <img src="/forum/images/graemlins/wink.gif" alt="" /> [/]<br /><br />You are not strong enough in the force young padwa to use the scriptor mind trick on a code master like JoshPet... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#247141 - 05/21/03 05:28 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL Okay now stop making fun. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />You know if you hint at something Josh is going to do it.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247142 - 05/21/03 12:25 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
Zackary Offline
Member

Registered: 03/01/01
Posts: 652
Loc: West Fargo, ND USA
Nice Josh. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Kinda wish I'd had something like this a few months back when I started making my EQ roster addon for threads. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />I made it through though, and I must say, I'll use this template as I start to convert the rest of my site to a "Threads style" format. <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />No sense in reinventing the wheel. <img src="/forum/images/graemlins/laugh.gif" alt="" />

Top
#247143 - 05/21/03 11:34 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Is the download in the first post the latest code? <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247144 - 05/22/03 12:33 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
The first post is the untemplated version - the next post where I attached the file - is a templated version. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />But I link to the templated version in my first post as well. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />For some simple pages - I'm fine without the template - but for more advanced stuff - it's definately nice, and more consistant with threads. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247145 - 05/22/03 01:01 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
great work on both <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247146 - 05/22/03 05:40 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: SurfMinister]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Just a thought <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Why not add in $user = $userob -> authenticate("U_Groups"); or even the full range for those who use groups, or or other items, so that threads features and benefits flowed through.<br /><br />Great work, and thanks for sharing the mods. <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#247147 - 07/06/03 01:52 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Gorlum]
Calimerion Offline
Newbie

Registered: 07/03/03
Posts: 11
Hello everyone, <br /> <br />I was able to use the generic page. Works really great! <br /> <br />Im running into a little issue though and I do have no idea what may cause that one. <br /> <br />When running the page with my php in it and being already at the forum and going to the link ( This Link ), then everything is ok. <br /> <br />However when not already browsing at the forum and opening the link at a fresh browser window, then I do get the following error message (page displays below the errro fine though - suppose he somehow tries to send the header twice): <br />
Code:
Warning: Cannot add header information - headers already sent by (output started at /home/www/web17/html/dclan/swguser/memberlist/memberlist.php:3) in /home/www/web17/html/dclan/ubbthreads/ubbt.inc.php on line 1749
<br /> <br />In addition I do only get the error message when being looged in (cookies). When accessing the link in a fresh browser without being logged in, the error message does not display. <br /> <br /> <br />Uh. Does anyone have an idea where that might come from? Im left a little clueless. We are running on version 6.3 <br /> <br /> <br />Thanks in advance, <br />Robert

Top
Page 1 of 3 1 2 3 >


Moderator:  Ian_W 
Who's Online
0 registered (), 25 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
56 minutes 29 seconds ago
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks