Code Help Required Pls

Termy

New Member
Hi guys, I am playing around with a mod thats used for photo albums - http://www.vbteam.info/vb-3-8-x-add...-vb-albums-photopost-vbgallery-photoplog.html

Now with this mod comes the code below -

Code:
<fieldset id="photobox" title="$vbphrase[photo_popup_my_photos]">
    <legend>$vbphrase[photo_popup_my_photos]</legend>
    <table cellpadding="4" cellspacing="0" border="0" align="center">
        <tr>
            <td class="smallfont" colspan="$vboptions[smcolumns]">
                       [<a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert]</a>]</td>
            </td>
</td>
        </tr>
    </table>
</fieldset>

This puts a link underneath the smillie box.

Now what I am trying to do is get the link to open a different page... one that I have made myself.

So basically, the question is can someone please let me know which part of the code to edit to put my own link in there.

Many thanks for any help... Termy.
 
Termy said:
Hi guys, I am playing around with a mod thats used for photo albums - http://www.vbteam.info/vb-3-8-x-add...-vb-albums-photopost-vbgallery-photoplog.html

Now with this mod comes the code below -

Code:
<fieldset id="photobox" title="$vbphrase[photo_popup_my_photos]">
    <legend>$vbphrase[photo_popup_my_photos]</legend>
    <table cellpadding="4" cellspacing="0" border="0" align="center">
        <tr>
            <td class="smallfont" colspan="$vboptions[smcolumns]">
                       [<a href="#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert]</a>]</td>
            </td>
</td>
        </tr>
    </table>
</fieldset>

This puts a link underneath the smillie box.

Now what I am trying to do is get the link to open a different page... one that I have made myself.

So basically, the question is can someone please let me know which part of the code to edit to put my own link in there.

Many thanks for any help... Termy.

I'm not using that mod and without seeing it installed it's hard to say but have you tried replacing this with your link?

HTML:
photo_popup.php
 
Put your link in the red area.

Code:
<fieldset id="photobox" title="$vbphrase[photo_popup_my_photos]">
    <legend>$vbphrase[photo_popup_my_photos]</legend>
    <table cellpadding="4" cellspacing="0" border="0" align="center">
        <tr>
            <td class="smallfont" colspan="$vboptions[smcolumns]">
                       [<a href=[color=Red]"#" onclick="window.open('$vboptions[bburl]/photo_popup.php?e=$editorid','fotos','scrollbars=yes,resizable=yes,width={$vbulletin->options['photo_popup_width']},height={$vbulletin->options['photo_popup_heigth']}'); return false" title="$vbphrase[photo_popup_insertlink]">$vbphrase[photo_popup_insert][/color]</a>]</td>
            </td>
</td>
        </tr>
    </table>
</fieldset>
 
Thanks for the suggestions guys, but neither of these worked for me.

I have solved the problem now by editing the original pop up window.

I entered the words I needed to edit into the phrase manager thingy, lol. This may not be the correct way, but its working to a fashion for me.

I just need to suss out how to make the images clickable so that when clicked they go into the post.

Many thanks guys... Termy.
 
Termy said:
Thanks for the suggestions guys, but neither of these worked for me.

I have solved the problem now by editing the original pop up window.

I entered the words I needed to edit into the phrase manager thingy, lol. This may not be the correct way, but its working to a fashion for me.

I just need to suss out how to make the images clickable so that when clicked they go into the post.

Many thanks guys... Termy.

Glad you got it sorted bud.

Are you doing something similar to what Im looking to do here?
 
h@ck3r said:
Glad you got it sorted bud.

Are you doing something similar to what Im looking to do here?
Hi m8, what we are doing is running a lottery system for our members. I needed this popup wondow for the Lotto Ball images in their own window.

Many thanks... Termy.
 
Back
Top