vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

jbeam 08-19-2008 02:49 PM

Nope, didn't make a difference. I still do not get links where images should be.

Take a look.
http://thenewx.org/forum/showthread.php?t=11147

dartho 08-19-2008 09:11 PM

You have an image resizer add-on which is interfering with the replacement variables.

If you add a new replacement variable in your Mobile style as follows:
search for: border="0" alt="" onload="NcodeImageResizer.createOn(this);" />
replace with: target="_blank">Image</a>
this might fix it for you

trhoppe 08-20-2008 12:17 PM

Quote:

Originally Posted by dartho (Post 1601958)
@jbeam - it should currently place a link where images should be with the text Image
@holwebs - the only moderator functions are to delete and edit posts/threads

I doubt I'll add more - but out of interest, which mod tasks would you want to see?

dartho, how did you do that exactly?

I couldn't figure out a clean way to do that with the templates, so I had to go into the php and set the image bb code file to drop an image with a class and then a link with a class. On my other template, I've got CSS to hide the text link, and with the iPhone template I display:none the image via CSS.

That seems to work just fine, but I'd love to know if there is a way to do that in templates vs the PHP.

Thanks!
-Tom

jbeam 08-20-2008 02:54 PM

Quote:

Originally Posted by dartho (Post 1602607)
You have an image resizer add-on which is interfering with the replacement variables.

If you add a new replacement variable in your Mobile style as follows:
search for: border="0" alt="" onload="NcodeImageResizer.createOn(this);" />
replace with: target="_blank">Image</a>
this might fix it for you

Excellent! Works great! Thanks for your help.

dartho 08-20-2008 09:52 PM

Quote:

Originally Posted by trhoppe (Post 1603019)
dartho, how did you do that exactly?

I couldn't figure out a clean way to do that with the templates, so I had to go into the php and set the image bb code file to drop an image with a class and then a link with a class. On my other template, I've got CSS to hide the text link, and with the iPhone template I display:none the image via CSS.

That seems to work just fine, but I'd love to know if there is a way to do that in templates vs the PHP.

Thanks!
-Tom

By adding a few replacememnt variables with in the mobile style:

Search For: border="0" alt="" />
Replace With: "_blank">Image</a>
Search For: class="inlineimg" />
Replace With: >:-)</a>
Search For: img src="http
Replace With: a href="http

The downside is that you can't show any images in the Mobile style with these in place...

Beth 08-20-2008 10:12 PM

I have installed it and i like :)

How do I do this though?
Quote:

Version 0.0.5 - fixed navbar template "Home" link (you will need to edit this if your default forum page is not index.php)
index.php is a portal page
index2.php is the forum page

Any help would be appreciated :)

Edit:Figured it out after reading through the thread.

Still reading but need to find how to add the style chooser - I cant get out of it now that i'm testing what it looks like on IE :o
Found it.

Thanks. Like the style. Will be implementing the other add ons for it soon I hope.

exel 08-23-2008 04:34 AM

woot installed! thanks :)

PossumX 08-26-2008 11:30 PM

3.7.3 Support?

I know it still works, but it shows 6 templates needing reversion, which has not been the case for this mod (for me anyway) as it came up through 3.7.x revisions.

dartho 08-27-2008 04:32 AM

As with pretty much all updates, it is unlikely that there will need to be code changes to this style unless new features are added which need to be incorporated into it.

All templates have a version number which matches the vbulletin version they were last changed in. When a new release is installed, if templates in the new release have been modified for that release, a warning will be shown for all templates (in all styles) that have an older version number.

As this style (and thus its templates) is so cut back it is unlikely that there will need to be edits made. This is especially the case when there are no "mandatory template changes" (http://www.vbulletin.com/forum/showp...19&postcount=2)

Edit the 6 templates, make no changes, and then save and the warning messages will go away.

We're going to have this issue every other month now that there are scheduled releases.

You could alternatively download and edit the XML and do a search and replace on 3.7.2 for 3.7.3.

PossumX 08-28-2008 10:21 PM

Quote:

Originally Posted by dartho (Post 1607905)
Edit the 6 templates, make no changes, and then save and the warning messages will go away.

We're going to have this issue every other month now that there are scheduled releases.

You could alternatively download and edit the XML and do a search and replace on 3.7.2 for 3.7.3.

Great information and THANK YOU. Never would have thought of the simply edit and save with no changes. Worked like a charm. :up:


All times are GMT. The time now is 01:51 PM.

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.01991 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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