NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·Dynamic block height
·Full Path Changes Required in Several Directories
·Members Cant Logon My Site or View Forums & Member Profi
·versign and authorize.net phpauction integration...
·Approved Membership for 8.0
·I want to use full HTML content in the welcome page...
·Changed style from subsilver, folder images now dont display
·Installing the forum upadates
·PHP-Nuke SQL Injection Vulnerability Fix
·Warning: main(db/mysql.php): failed to open stream: No such

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: MAEDAY
Today: 0
Yesterday: 1
Overall: 14888

Visitation:
Guests: 578
Members: 3
Total: 581


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Need to find your IP fast?
Need to find your IP fast?

NukeResources :: View topic - Automatic subject on reply
NukeResources Forum Index

NukeResources Forum Index -> Bug Fixes -> Automatic subject on reply
Post new topic  Reply to topic    View previous topic :: View next topic 
Automatic subject on reply
PostPosted: Mon Jun 23, 2008 3:45 pm Reply with quote
gator81
Resource Seeker
Resource Seeker
 
Joined: Jun 23, 2008
Posts: 1




if you can help great, I have been doing trial and error for a few hours and have had not luck.
phpnuke 8.1
forums are 2.0.21

I have added the ability to do attachments, and everything has been working.

Lately it was brought to my attention that if someone replied to a subject that it would not post "RE:subject" on the subject line. Again after much looking I was given this help:

in modules/forums/posting find this:
Code:
   else if ( $mode == 'reply' )
   {
      $user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : '';

      $username = ( $userdata['session_logged_in'] ) ? $userdata['username'] : '';
      $subject = '';
      $message = '';

then i was asked if after that i seen something like this:
Code:
/*****[BEGIN]******************************************
 [ Mod:     Automatic Subject on Reply         v1.0.0 ]
 ******************************************************/
                $subject = $post_info['topic_title'];
                if ( !preg_match('/^Re:/', $subject) && strlen($subject) > 0)
                {
                        $subject = 'Re: ' . $subject;
                }
/*****[END]********************************************
 [ Mod:     Automatic Subject on Reply         v1.0.0 ]
 ******************************************************/

I didnt, so i put it right after the first code i was showing, went to the forums and it was working.
Later I saw that now you cannot add an attachment anymore. I have tried to move, add reorginize in every way i can, and i have had no luck. If i add any of the second code in that area, the attachment option would not show on the forums.
I did notice that a little further down the code you see some of the second code under a Quote option. I even tried to add the one line there to see if it would make a difference and it didnt for me.

I dont mean to be confusing, but I have not been able to find anymore information so I am asking for any help to get this resolved.

Please note, that the modules/forums/posting file is the only file i am editing or trying to make changes.
View user's profile Send private message
Automatic subject on reply
 NukeResources Forum Index -> Bug Fixes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 130 unique hit(s) in the past 24 hours.
Forums ©
Game Quest Online - Games and more!


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.24 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::