vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Dynamics > vBa Dynamics v2.0 Support > Bugs & Issues

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2011, 02:11 PM
aam aam is offline
Member
 
Join Date: Mar 2011
Posts: 42
Exclamation Only one smilie is missing (faulty) – but the rest are fine

Using vBulletin 4.1.7 PL1 and latest version of Dynamics.

If you go to submit a listing (new entry) and then look at the bit just under the editor box where it says disable smilies in text - if selected :) will not be replaced with . This smilie image is missing and in Internet Explorer and you just see a box with a cross. This is not noticeable in Firefox as it just ignores missing images.

The only difference between the working smilies and this one is that all the smilie images that work (to the side of the editor box) have the following format:
url-to-vbulletin-forum/images/smilies/smile.png

But the one broken smilie below the editor box is in the following format:
url-to-dynamics-instance/images/smiles/smile.png

I tried to look at the vBadvanced global options in the settings for any ‘replacements’ for this area / page but could not find anywhere to fix this issue.

Is there an easy fix for this?


tfm
(posting from aam's account)
Reply With Quote
  #2  
Old 11-30-2011, 06:58 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Apparently vBulletin decided to use an image within a phrase, which I thought kinda went against their standards. Either way, you should be able to fix the issue by looking in your dynamics/newentry.php file for this line:
PHP Code:
($hook vBulletinHook::fetch_hook('vba_dyna_newentry_start')) ? eval($hook) : false
And add this just above it:
PHP Code:
$vbphrase['disable_smilies_in_text_explain'] = str_replace(
    
'"images',
    
'"' $vbulletin->options['bburl'] . '/images',
    
$vbphrase['disable_smilies_in_text_explain']
); 
Then you'll also want to look in the dynamics/newreply.php file for this line and add that same code just above it as well.
PHP Code:
($hook vBulletinHook::fetch_hook('vba_dyna_newreply_start')) ? eval($hook) : false
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #3  
Old 02-12-2012, 05:02 PM
aam aam is offline
Member
 
Join Date: Mar 2011
Posts: 42
Default

Brian,

Has this fix been implemented into the download package, or do I still have to manually edit the files?


Update:
Ok, I just had a look at both newentry.php and newreply.php in the current download package and the fix is not in there. So it has to be done manually.

Last edited by aam; 02-12-2012 at 05:08 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BB Code Module - move smilie box under editor christon26 "How Do I..." Questions 1 10-18-2009 05:28 PM
smilie box papokergod Troubleshooting & Problems 1 11-03-2007 01:37 PM
Smilie Creator KW802 Add-On Modules & Modifications 81 11-14-2005 01:09 PM
Rest of my forums not showing up. audit Troubleshooting / "How do I..." Questions 5 05-10-2005 05:08 PM
Dynamically creating Smilies using BB Code with FPS Smilie Creator installed fuse3k Add-On Modules & Modifications 8 10-06-2004 08:00 PM


All times are GMT -4. The time now is 08:25 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.