Signature Editor/Preview Deluxe with bbtonuke 2.0.10 problem

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Signature Editor/Preview Deluxe with bbtonuke 2.0.10 problem
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 19 year's 19 Year Member
usa.gif massachusetts.gif
Age: 42
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.04 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
This mod is great however it won't working correctly with bbtonuke 2.0.10 unless this line is commented out of common.php

 
if (is_array(${$var_prefix . $var . $var_suffix}))
      {
            unset_vars(${$var_prefix . $var . $var_suffix});
            @reset(${$var_prefix . $var . $var_suffix});
      }


Does anyone know how to fix the mod so I don't have to comment that line?


Attached Files
nuke6.5_sigedit.zip (4.71 KB, Downloaded: 5255 Time(s))


Back to top Reply with quote
#2   re: Signature Editor/Preview Deluxe with bbtonuke 2.0.10 pro
Trubador
CZ Active Member
Trubador has been a member for over 19 year's 19 Year Member
uk.gif
Occupation: Aircraft Technician
Age: 52
Gender: Male
Status: Offline
Joined: Nov 16, 2004
0.01 posts per day
Posts: 104
Points: 4,807
   
When you say it wont work correctly, how do you mean?

Ive managed to install it, however the only problem I have is the 'Current Signature' button. For some reason it redirects to my home page.

I notice Codewiz have the same mod. Could anyone please tell me a workaround for this problem.

Cheers All

Trub



Back to top Reply with quote
#3   re: Signature Editor/Preview Deluxe with bbtonuke 2.0.10 pro
Trubador
CZ Active Member
Trubador has been a member for over 19 year's 19 Year Member
uk.gif
Occupation: Aircraft Technician
Age: 52
Gender: Male
Status: Offline
Joined: Nov 16, 2004
0.01 posts per day
Posts: 104
Points: 4,807
   
Found the problem..... Not bad for a total NoOb like me.... icon_biggrin.gif

In profile_signature.tpl replace all instances of, (3 of them),

SIG_CURRENT_LINK

with

SIG_LINK

.... icon_biggrin.gif

Also Font Colour and Font Size re-edited to show.

class="genmed">{L_COLOR_RED}</option>

Change to

class="genmed">Red</option>

Apply to all colour and font

This works TOTALLY now for Nuke 7.4 and bb 2.0.10. Without the common.php edit above.... icon_biggrin.gif

Trub



Attached Files
sigedit+xtrabbcode.rar (9.54 KB, Downloaded: 5245 Time(s))


Back to top Reply with quote
#4   re: Signature Editor/Preview Deluxe with bbtonuke 2.0.10 pro
Trubador
CZ Active Member
Trubador has been a member for over 19 year's 19 Year Member
uk.gif
Occupation: Aircraft Technician
Age: 52
Gender: Male
Status: Offline
Joined: Nov 16, 2004
0.01 posts per day
Posts: 104
Points: 4,807
   
I've just had another play with it.

If you use 'Restrict images in signatures 0.1.1' i've added the extra code in to the usercp_signature.php.

Now it will tell you in 'preview' and 'save' if there are too many images or if they are too big!!!!

Im rocking today!!!! icon_biggrin.gif

As an extra I had to edit lang_main.php to define the parameters in admincp

$lang['Too_many_sig_image'] = 'You have added too many images in your signature. You can only add 1 image in your signature.';
$lang['Too_many_sig_images'] = 'You have added too many images in your signature. You can only add 1 image in your signature.';
$lang['Sig_image_too_large'] = 'You have added an image that is too large. Images can only be a maximum of 400 pixels wide and 200 pixels high.';


Replace this if you use 'Restrict images in signatures 0.1.1'


Attached Files
usercp_signature.rar (2.58 KB, Downloaded: 5248 Time(s))



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Signature Editor/Preview Deluxe with bbtonuke 2.0.10 pro
Allycat_232
CZ Newbie
Allycat_232 has been a member for over 17 year's 17 Year Member
Gender: Female
Status: Offline
Joined: Feb 28, 2007
0.00 posts per day
Posts: 1
Points: 0
   
In usercp_signature.php: icon_smile.gif beautiful modification but therefore if a user writes a signature without image comes this error: “An while Error occured submitting Signature” icon_sad.gif icon_sad.gif icon_sad.gif
Thanks.
Ally.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum