Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Video Advert within chat
09-02-2011, 08:53 AM,
#1
Video Advert within chat
ive looked at http://www.videosoftware.pro/forum/THREAD-Some-basic-and-frequently-asked-editing and cant find where to change the links on flash builder ive gone to 5.9>src>jabbercam>lang in flash builder and just cant seem to find where to change the links and also how do i find the video advert to change that?
Reply
09-02-2011, 11:00 AM,
#2
RE: Video Advert within chat
To edit the links with RVC 5.9 you don't need the Flash Builder any more. Simply go to your server and edit the following location:
Quote:/jabbercam/language/lang_en.ini
and other language files

If you wish to remove the buttons instead of changing the links, you need the Flash Builder 4.5.
edit JabberCam.mxml and find the following:
PHP Code:
<mx:HBox width="{chatWidth}" id="ChatArea" styleName="ChatArea">
            <
mx:Canvas width="100%">
                <
mx:TextArea width="100%" height="{chatHeight}" id="taChat" editable="false" wordWrap="true" styleName="TextAreaH"/>
                
                <
mx:Button top="9" right="12" id="btnAd" toolTip="{this.lang.btnAdTooltip}" click="onSocialButtonClick(this.lang.getSetting('adButtonLink'))" buttonMode="true" visible="{(chatHeight > 70) ? true : false}"/>
                <
mx:HBox horizontalGap="4" right="12" bottom="3" verticalAlign="middle" height="25">
                    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/report.png')" rollOver="zoomInReport.play()" rollOut="zoomOutReport.play()" toolTip="Report this user" id="btnReport" click="onReport()" enabled="{ccCallState==CCCallEstablished}" right="103" bottom="11" />
                    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/mute.png')" rollOver="zoomInMute.play()" rollOut="zoomOutMute.play()" toolTip="Mute sounds" id="btnMute" click="btnMute_clickHandler(event)" right="83" bottom="11"/>
                    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/clear.png')" rollOver="zoomInClear.play()" rollOut="zoomOutClear.play()" toolTip="Clear messages" id="btnClear" click="onClearChat()"  right="63" bottom="11" />
            <!--    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/help.png')" rollOver="zoomInHelp.play()" rollOut="zoomOutHelp.play()" toolTip="Help" id="btnHelp" click="onSocialButtonClick('http://www.jabbercam.com/help')" right="43" bottom="11"/> -->
                    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/help.png')" rollOver="zoomInHelp.play()" rollOut="zoomOutHelp.play()" id="btnHelp" toolTip="{this.lang.btnHelpTooltip}" click="onSocialButtonClick(this.lang.getSetting('helpLink'))" right="43" bottom="11"/>
            <!--    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/about.png')" rollOver="zoomInAbout.play()" rollOut="zoomOutAbout.play()" toolTip="About" id="btnAbout" click="onSocialButtonClick('http://www.videosoftware.pro/products/rvc')" right="23" bottom="11"/> -->
                    <
mx:Button width="16" height="20" skin="@Embed(source='../assets/about.png')" rollOver="zoomInAbout.play()" rollOut="zoomOutAbout.play()" id="btnAbout" toolTip="{this.lang.btnAboutTooltip}" click="onSocialButtonClick(this.lang.getSetting('aboutLink'))" right="23" bottom="11"/>
                </
mx:HBox>
            </
mx:Canvas>
</
mx:HBox
set all buttons visibility to false: visible="false"

do the same within the settings and advanced settings panels:
PHP Code:
                        <!--SOCIAL BUTTONS-->
                        <
mx:HBox width="100%" horizontalAlign="left" id="socials2" alpha="{ownControls.visible?Math.max(0.1,ownControls.alpha):0.7}" left="0" top="2">
                            <
mx:Button skin="@Embed(source='../assets/facebook.png')" toolTip="{this.lang.facebookTooltip}" click="onSocialButtonClick(this.lang.getSetting('facebookLink'))" buttonMode="true"/>
                            <
mx:Button skin="@Embed(source='../assets/googlebuzz.png')" toolTip="{this.lang.buzzTooltip}" click="onSocialButtonClick(this.lang.getSetting('buzzLink'))" buttonMode="true"/>
                            <
mx:Button skin="@Embed(source='../assets/twitter.png')" toolTip="{this.lang.twitterTooltip}" click="onSocialButtonClick(this.lang.getSetting('twitterLink'))" buttonMode="true"/>
                            <!--- <
mx:Button skin="@Embed(source='../assets/myspace.png')" toolTip="{this.lang.myspaceTooltip}" click="onSocialButtonClick(this.lang.getSetting('myspaceLink'))" buttonMode="true"/> -->
                            <
mx:Button skin="@Embed(source='../assets/jabbercam.png')" toolTip="{this.lang.rvcTooltip}" click="onSocialButtonClick(this.lang.getSetting('rvcLink'))" buttonMode="true"/>
                            <!-- -->
                        </
mx:HBox>
                        <!--
END SOCIAL BUTTONS--> 

More editing options here: http://www.videosoftware.pro/forum/THREAD-Installing-and-editing-RVC-5-PART2-step-by-step-description
I love video chat!
Reply
09-02-2011, 07:25 PM,
#3
RE: Video Advert within chat
Thanks a lot Smile
Reply
09-02-2011, 08:39 PM, (This post was last modified: 09-02-2011, 09:19 PM by djadstar.)
#4
RE: Video Advert within chat
Right ive found the links within the lang_en i change them but nothing has happend after ive re uploaded them?
Also i cannot find '<div id="left">
<script type="text/javascript">' within the index.html at all? as i want to put ads on
Reply
09-03-2011, 12:43 AM,
#5
RE: Video Advert within chat
After uploading a new language, you need to clear your browser's cache and reload the page to see the effects. With 5.9 the ads are removed (per several requests I guess). Just add a div in HTML: http://www.barelyfitz.com/screencast/html-training/css/positioning/
I love video chat!
Reply
09-03-2011, 05:13 AM, (This post was last modified: 09-03-2011, 05:18 AM by djadstar.)
#6
RE: Video Advert within chat
Yeah sorted the lang_en now the text has disapeard from the buttons? http://www.randomchatz.com/ also the blue text that comes up saying about click here to get the software isnt in the lang?
Also i cant see anything in your reply about changing the video ad within the chat when there is no cam signal being received?
Reply
09-03-2011, 12:15 PM,
#7
RE: Video Advert within chat
Buttons are disappearing if you made a mistake while translating the file or a text value is missing. Language files should be XML to avoid these, hard to find errors, for some reason it was changed to plain text around version 5. Try to compare the translated file with the original or try this method:
Quote:Replace 50% of the translated file with the original and check the result. If it works, the replaced 50% has the error.
Repeat this with the 50% containing the problem dividing it again (25%). In a few steps, you'll find the row to fix.
To remove text ads (blue text), edit /jabbercam/media/text/adtext.txt. Change the ads or simply delete adtext.txt.
I love video chat!
Reply
09-06-2011, 01:17 AM,
#8
RE: Video Advert within chat
Inside /jabbercam/media/text/ there is only .ds_store and ._.ds_store?
Reply
09-06-2011, 04:02 AM,
#9
RE: Video Advert within chat
In this case there should be no ad-text in your chat-area but it seems I misunderstood your question, you were referring to the video ad. Do the same at /jabbercam/media/video/blankscreen
I love video chat!
Reply
09-06-2011, 07:01 AM, (This post was last modified: 09-06-2011, 07:32 AM by djadstar.)
#10
RE: Video Advert within chat
there are ads when you first go on saying ' Download this software to start your own chat website. Click here'
Don't worry ive found it within the text file Smile thankyou
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)