vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBaCMPS Latest Geek Articles (https://vborg.vbsupport.ru/showthread.php?t=73828)

The Geek 01-16-2005 01:28 PM

Quote:

Originally Posted by mekro
Hi

I would like to use this but for a different way i will be using the geek article system for a yugioh site and it will be used for a Card of the Day feature.

In each card of the day is a picture of the card and I was wondering if instead of showing the latest article on the homepage would it be poccible just to show the image of it.

Anyhelp

Kirk

I wouldnt think that it would be overly difficult to do - however the code would need to pull the attachment (if that was how you were doing the picture).

If its only an image and not an article per say - maybe a photopost or vba gallery featured pic would suit your needs better?

msimplay 02-10-2005 04:01 PM

Any Chance of this for Vbadvanced the original version ?

The Geek 02-10-2005 08:57 PM

Quote:

Originally Posted by msimplay
Any Chance of this for Vbadvanced the original version ?

Hey there msimplay. Most likely not as I only use vbacmps. Couple that with the fact that there have been 11 installs in 2 months doesnt get me overly excited to do so. I would rather work on Geek Articles 3.0

That said... the module is very straight forward and could most likely be proted to anything you want with just a little investegatory work.

Let me know how you do if you decide to.

nathanaus 02-12-2005 06:55 AM

Do you know if this runs on vbaCMPS 1.0.1?

In the instructions for this it says to find:

Code:

if ($shownewpm)
{
        eval('$pmscript = "' . fetch_template('pm_popup_script') . '";');
        $footer .= str_replace('"private.php', '"' . $vboptions['bburl'] . '/private.php', $pmscript);
}

I don't seem to have that anywhere in my vba_cmps_include_bottom.php file.
As such where do I add "unset($fperms);" to now?

KTBleeding 02-13-2005 05:10 AM

Hmm. I can't get this to work. :(
I've tried everything I can think of.. It's active on all pages, every usergroup is set to view it, but it doesn't come up.

Do I have the settings incorrect?

nathanaus 02-13-2005 05:46 AM

Take adv_portal_ off the front of you templates being used list and re-save.

So instead of:
adv_portal_latestgeekarticles
adv_portal_latestgeekarticlebits

You would have:
latestgeekarticles
latestgeekarticlebits

*edit to add* what version of VBACMPS do you have? I can't find some of the code mentioned that needs to be changed, but it doesn't look like this mod is supported anymore

KTBleeding 02-13-2005 06:15 AM

Quote:

Originally Posted by nathanaus
Take adv_portal_ off the front of you templates being used list and re-save.

So instead of:
adv_portal_latestgeekarticles
adv_portal_latestgeekarticlebits

You would have:
latestgeekarticles
latestgeekarticlebits

*edit to add* what version of VBACMPS do you have? I can't find some of the code mentioned that needs to be changed, but it doesn't look like this mod is supported anymore

Nope, still doesn't work with that done. Thanks though.

I'm using 1.0.0 which is very strange cause I downloaded it from vbadvanced.com two days ago. :ermm:

Try searching for:
Code:

// $header replacement
The code should be RIGHT above that.

nathanaus 02-13-2005 06:36 AM

Nope no match. Thanks anyway. I'm using 1.0.1

Also I noticed you are including files and templates. Can that be done? I thought you had to have a file or a template?

KTBleeding 02-13-2005 06:40 AM

Weird? Is the closing php tag in your "vba_cmps_include_bottom.php" file? (The ?> at the very bottom of the page)

I just downloaded 1.0.1 and I see it in there.. Maybe it's possible the whole file isn't completed?

Jason McConnell 02-13-2005 07:02 AM

Quote:

Originally Posted by nathanaus
Nope no match. Thanks anyway. I'm using 1.0.1

Also I noticed you are including files and templates. Can that be done? I thought you had to have a file or a template?

It can be done with both, sometimes wit both a file and multiple templates. Take a look at the calendar module ;)


All times are GMT. The time now is 05:58 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.01924 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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