vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Banner Rotator (Definitive Mod) **UPDATED** (https://vborg.vbsupport.ru/showthread.php?t=133954)

brvheart 04-06-2007 02:02 PM

I installed and it is running great, I am just trying to make the banner clickable which is not in the original mod...so install away ;)

brvheart 04-06-2007 02:03 PM

Quote:

Originally Posted by andrefedalto (Post 1213112)
Huh, i'm pretty sure there is already a modification for that. Just do a quick search at the mod-database and you should find something that suits your needs :)


are you sure u reinstalled the modified version and not the original? I took a look at the code and if you did every step the way you should do, no errors would come up.

I will re-try them right now and let you know ;)

brvheart 04-06-2007 02:36 PM

I just re-edited all files and uploaded/overwrote and I still get the same thing...I do have a question with some of the instructions:

now you need to add this about line 89
PHP Code:
PHP Code:

<phrase name="setting_brotator_default_link_desc" date="1166036111" username="FileWarez" version="1.0b"><![CDATA[Defalt link]]></phrase

and
PHP Code:
PHP Code:

<phrase name="setting_brotator_default_link_title" date="1166036111" username="FileWarez" version="1.0b"><![CDATA[Default link]]></phrase

I added both of these on lines 89 and 90...is that right?

Also does this mean add it to what is already there?:

on line 30 add this
PHP Code:
PHP Code:

print_input_row('Link''link'$vbulletin->options['brotator_default_link']); 


kokiri Kid 04-06-2007 04:19 PM

Excellent, pure genius!

Calibre_k 04-07-2007 05:01 PM

gif & bmp files it wont let me add any reason why?

rjmjr69 04-07-2007 05:43 PM

Quote:

Originally Posted by zahid1 (Post 1220056)
i coudn't find this code in my header

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />

this code is avaliable on on default skin cna u tell us for custom skin

Basically you are looking for your banner/logo. Custom skins use different methods to code them in the header template. What I think would be the easiest to do in order to find it in your code. Would be too right click on your current banner goto properties and find the NAME of the banner/logo. Search for that name in your header template. Should be about where you would want to place it?
Someone correct me if I'm wrong but it worked for me. And usually does for other template edits where I can not find the default code.;) ;)

gsmlover4u 04-10-2007 10:50 AM

how i can solve this error

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access ./images/banners/iklkiu_468x60_01_01.gif/iklkiu_468x60_01_01.gif in /admincp/brotator.php on line 62

dlee 04-12-2007 04:51 PM

I don't have any edit settings. Any idea what's up with that? Also, no images are showing up on the forum. The path to the directory holding the images is correct. Header code is as follows:

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><center>$banner</center></a></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

Attached is a screenie of my brotator options.

dlee 04-12-2007 06:00 PM

Edit from above. Fixed.

Now I get the classic error that everyone has been getting saying that the file i want upload is invalid type: image/pjpeg

Where did you go dude?

deegan 04-13-2007 07:23 PM

Quote:

Originally Posted by dlee (Post 1226091)
Edit from above. Fixed.

Now I get the classic error that everyone has been getting saying that the file i want upload is invalid type: image/pjpeg

Where did you go dude?

In your above screen shot, the first line is "Extensions"...

Add "|image/pjpeg" to the end of it...

Now MY problem is the standard "I have different code in my header so I don't know where to put $banner"...

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[left]"><a href="http://www.hardcorepolitics.com" target="_blank"><img src="http://www.hardcorepolitics.com/images/DefaultBanner_buildings.jpg" border="0" width=100% alt="If you see this, then the banner is screwed up"></a></a></a></a>
$header_advertisement
</td>
</tr>
</table>
<!-- /logo -->
Any help?


All times are GMT. The time now is 09:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01235 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete