php forum
php mysql forum
php mysql smarty
 
Page 3 of 4 < 1 2 3 4 >
Topic Options
#249060 - 07/11/03 05:19 PM Re: [6.3] Facelift for UBB Threads [Re: jacksonm99]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
I've heavily edited the showflat.tmpl file. I used BeyondCompare, and I believe this is the new section:<br /><br />
Code:
<br />if ($Open == "M" &amp;&amp; ($ismod == "yes" || $user['U_Status'] == "Administrator")) {<br /> echo &lt;&lt;&lt;UBBTPRINT<br />&lt;table border="0" class="tablesurround"&gt;<br />&lt;tr&gt;<br />&lt;td class="navigation" nowrap="nowrap"&gt;<br />{$postrow[$i]['editlinkstart']}<br />&lt;img src="{$config['images']}/edit.gif" border="0" alt="{$ubbt_lang['PEDIT_HEAD']}" width="21" height="14" $imagestyle /&gt;<br />{$ubbt_lang['EDIT_ICON']}<br />{$postrow[$i]['editlinkstop']}<br />
<br /><br />Is this correct?
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#249061 - 07/12/03 05:30 AM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Thanks DLT
_________________________
Nikos

Top
#249062 - 07/14/03 10:54 AM Re: [6.3] Facelift for UBB Threads [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Look at the poll results. I think there needs to be a colspan="2" in the tdheader. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#249063 - 07/14/03 07:30 PM Re: [6.3] Facelift for UBB Threads [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Dal - if you're including my icon thing in this now too - be sure to add this additional step to modifypost.php. It'll fix the missing icon thing. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />http://www.ubbdev.com/forum/showthreaded.php?Number=88905
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#249064 - 07/15/03 03:08 AM Re: [6.3] Facelift for UBB Threads [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]JoshPet said:<br />Look at the poll results. I think there needs to be a colspan="2" in the tdheader. <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />Yep -I'll fix that soon Mr. Bug <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#249065 - 07/15/03 03:09 AM Re: [6.3] Facelift for UBB Threads [Re: Daine]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]JoshPet said:<br />Dal - if you're including my icon thing in this now too - be sure to add this additional step to modifypost.php. It'll fix the missing icon thing. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />http://www.ubbdev.com/forum/showthreaded.php?Number=88905 [/]<br /><br /> <img src="/forum/images/graemlins/cool.gif" alt="" /> -thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#249066 - 07/15/03 03:10 AM Re: [6.3] Facelift for UBB Threads [Re: Hal_dup2]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]dimopoulos said:<br />Thanks DLT [/]<br /><br />Anytime <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#249067 - 07/15/03 03:10 AM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Yep -that's it <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#249068 - 07/15/03 08:45 PM Re: [6.3] Facelift for UBB Threads [Re: jacksonm99]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
This seems to add the edit button to moved threads. Does it not do it for closed threads as well? <br /> <br />In a closed thread, I have a reply button, and it takes me to my profile. Why would a closed thread have a reply button?
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#249069 - 07/19/03 02:10 PM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
DLT...Under the facelift, I just noticed that if I, as admin, go to edit a post by some other user, the edit form seems to have some things missing from the standard edit form. In particular, there is no check box to select whether or not to show as edited, and the box for checking whether or not to preview the edited version is to the RIGHT of the text area, rather than underneath.<br /><br />Of course, it is possible I have a corrupted file for this template. but I don't see how that would have happened, since I haven't touched it, and I still can't figure out what templates control most of the stuff, anyway.<br /><br />(Boy, it would sure help to have a guide to what templates control what on the various pages!!!!!)<br /><br />Anyway, I'd appreciate it if you, or someone else, could have a look at what happens if you try to edit someone else's post!<br /><br />Thanks - Tony <img src="/forum/images/graemlins/tongue.gif" alt="" />

Top
#249070 - 07/19/03 04:26 PM Re: [6.3] Facelift for UBB Threads [Re: BOOO_YAAA]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
The check box is there for me and I'm using DLT's. You may have to reinstall the hack if you're talking about it appearing with other members' posts.
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#249071 - 07/23/03 12:57 AM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I'll have to test that out on my dev site -it may take a little while because I'm working in an area where I don't have Internet acces after work...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#249072 - 07/23/03 02:29 AM Re: [6.3] Facelift for UBB Threads [Re: jacksonm99]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
<img src="/forum/images/graemlins/bigshock.gif" alt="" /> No....Internet.......access??? <img src="/forum/images/graemlins/bigshock.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#249073 - 07/23/03 03:18 PM Re: [6.3] Facelift for UBB Threads [Re: jacksonm99]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
DLT: I've been trying to figure out a couple of irregularities on my site with "facelift", one of which I posted earlier and still haven't figured out (regarding the form for editing a user's post), but there's another ambiguity with regard to (at least MY reading of) the instructions on YASM and facelift. You say:<br />"When you install YASM you only need to follow the instructions for editing your dosearch.php file (I've included the template that you need for YASM)."<br /><br />However - and this is fairly obvious to an experienced user, but perhaps not others - you still need to edit and upload the search.php in the language file (as I discovered when I found there was no language associated with the new search options). Maybe you ought to add a reference to changing the associated language file. Also...there are TWO templates edited under YASM (search and dosearch), so maybe you ought to change the word "template" in the instruction I've cited to "templates".<br /><br />Anyway, I thought that in these 2 respects the language regarding YASM wasn't too clear, and you might want to change it.<br /><br />Thanks - Tony<br /><br />(As to my problem with the form for editing a user's post, I guess I'll just upload the current set of templates, and see if things work.)<br /><br />Thanks - Tony

Top
#249074 - 07/23/03 03:52 PM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
I reinstalled the current set of templates, and that form still has the problem!<br /><br />It's the one you get when as administrator, you hit "edit" for a user's post (that is, not your own).<br /><br />If I knew the name of the template, I could probably identify the problem myself, but one of the problems with all the templates is that it's difficult to figure out what does what!!!!<br /><br />Further suggestions would be welcome! Thanks - Tony<br /><br /> <img src="/forum/images/graemlins/crazy.gif" alt="" />

Top
#249075 - 07/23/03 06:55 PM Re: [6.3] Facelift for UBB Threads [Re: BOOO_YAAA]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
His mod requires YASM (Yet another search mod) available for download here under modifications. However I don't think this search page mod is working quite right for 6.3. I know it's not working quite right here - particularly when you search for a user name. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />The template you are looking for is editpost_nopoll.tmpl<br /><br />The templates generally have the same name as the script (editpost.php) but because of polls there are 2 versions of it..... as you can't edit polls. So editing a regular post (without a poll in it) would be editpost_nopoll.tmpl
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#249076 - 07/23/03 08:47 PM Re: [6.3] Facelift for UBB Threads [Re: Daine]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
thanks for the info, Josh, and - when I opened that template in the admin editor - I found what seems to be an elision (is that the right word?), as though two sections of code, one for the mark as edit and the other for preview, had been run together, with effectively a whole section missing. <br /> <br />Just to test, I added a line break after the section of code for the post box, because there was a little check box at the SIDE of the big box for the post, rather than under it. My change put the check box under the post box, with the text "I want to preview my modifications and add or edit an attachment." <br /> <br />But there IS no check box or text for selecting whether or not to mark the post as edited, and I think there should be! <br /> <br />What do you think? Tony <br /> <br />EDIT: I've stared at the template a bit more, and I think my remark about the elision is wrong. BUT the fact remains that the check box was to the right at the post box (which my line break fixed), AND there is no mark as edited option when I (as administrator) go to edit a user's post. (Would there be a difference if I went as moderator? For the case I tried, I'm both...) But the mark as edited option IS there if I (as admin) edit one of my own posts!

Top
#249077 - 08/05/03 06:05 PM Re: [6.3] Facelift for UBB Threads [Re: BOOO_YAAA]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Any word on being able to edit closed threads? <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#249078 - 08/05/03 09:53 PM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I've fixed it here - let me figure out what I did to a standard template and post it. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#249079 - 08/06/03 01:35 AM Re: [6.3] Facelift for UBB Threads [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I dunno if this is it. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Ours has alot more stuff - see if the attached fixes it (but save your old one if it breaks you can put it back. ) <img src="/forum/images/graemlins/tongue.gif" alt="" />


Attachments
90915-showflat.txt (13 downloads)

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

Top
Page 3 of 4 < 1 2 3 4 >


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