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 02-13-2005 07:41 AM

Quote:

Originally Posted by nathanaus
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?

Looks like that was removed in 1.0.1

Do the replace in that step, but dont put the unset($fperms); anywhere.
BTW: Your templates need to be prefixed.

PS - please click install if you have installed this mod ;)

nathanaus 02-13-2005 09:46 AM

Quote:

Originally Posted by the nail geek
Looks like that was removed in 1.0.1

Do the replace in that step, but dont put the unset($fperms); anywhere.
BTW: Your templates need to be prefixed.

PS - please click install if you have installed this mod ;)

Thanks, did that and it works perfectly. Good job :)

Clicked install too :)

KTBleeding 02-13-2005 03:05 PM

How are you guys getting it to work? haha

Quote:

Originally Posted by KTBleeding
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-14-2005 12:04 AM

Quote:

Originally Posted by KTBleeding
How are you guys getting it to work? haha

When I created the page I didn't use the templates just the file.

See attached.

I think because you specified the file you don't need to specify the templates used. Could be wrong though.

KTBleeding 02-14-2005 12:45 AM

Hmm, very strange.

I know it's set on for all my pages, and the module itself is active.
IF I deactivate the article module, then the module below it changes color from "alt1" to "alt2".. so I guess it's reading something there? :/

nathanaus 02-14-2005 03:10 AM

Quote:

Originally Posted by KTBleeding
Hmm, very strange.

I know it's set on for all my pages, and the module itself is active.
IF I deactivate the article module, then the module below it changes color from "alt1" to "alt2".. so I guess it's reading something there? :/

Have you written an article and specified which forum number to use to pull articles from?

KTBleeding 02-14-2005 02:51 PM

Yes, I have several article contents added. :)

I figured out the problem though. I'm an idiot and either didn't see this part in the readme, or skimmed through it.. but I didn't notice the Geek settings under the vBA CMPS general settings.

Got it all sorted though, thanks for the help.

KTBleeding 02-16-2005 03:00 AM

Is there a way to make it so when an article gets a comment, it's not brought to the top of the "latest article" module?

KTBleeding 02-18-2005 12:56 AM

Quote:

Originally Posted by KTBleeding
Is there a way to make it so when an article gets a comment, it's not brought to the top of the "latest article" module?

Pumb. :dead:

The Geek 02-18-2005 06:04 AM

Quote:

Originally Posted by KTBleeding
Pumb. :dead:

Have you tried changing the Sort from the last comment made? setting?

tormodg 02-20-2005 02:39 PM

It seems there are some bugs in this thingy too. The post date is shown as well as the last date for the comment made. There seems to be no option to remove this except edit the template.

Also, the option to show views/comments is not conditioned in the modul so it is displayed by default. Could be a good idea to remove this (I hardly have any comments on my articles, people just read and go post something intelligent elsewhere in the forums). I just commented that bit out in the module.

I think I have installed almost everything by you now. So now I can take one of those vBa Links Directory popup things, thank you. That would be a killer. :)

venomx 02-26-2005 06:39 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

This bit of info needs added to the install file...

The Geek 02-26-2005 07:51 AM

Quote:

Originally Posted by venomx
This bit of info needs added to the install file...

its not in there as it isnt correct as far as I know the vbacmps templates need the adv_portal_ prefix

mekro 03-17-2005 10:20 AM

Hi

Just wondering if this is possible with your hack and that is, i use your article system to run a card of the day system.

I would like to have the latest new card of the day thread (not new replies) including the attachment of the card which is uploaded with it shown on my vbadvanced homepage.

Is this possible.

Thanks
Kirk

The Geek 03-17-2005 10:42 AM

Quote:

Originally Posted by mekro
Hi

Just wondering if this is possible with your hack and that is, i use your article system to run a card of the day system.

I would like to have the latest new card of the day thread (not new replies) including the attachment of the card which is uploaded with it shown on my vbadvanced homepage.

Is this possible.

Thanks
Kirk

If I understand you correctly - you are wanting to show the latest attachment thumbnail from specific forums?

Sounds like a cool idea - but no this wouldnt work for you. Sorry :(

Rich 03-20-2005 04:08 PM

Hello,
When creating new module templates, they need to be written like this:

adv_portal_TEMPLATE NAME

However, when you are adding the module to the pages, it is not entered with the prefix. All you enter for the template name on the "add module" page is the template name. So where it asks for template name, you only enter: TEMPLATE NAME

If you add the prefix in the add module section, it will not work!

intrigue 03-21-2005 11:49 AM

any reason why it shows the last 3 posts rather then articles?
.matt

The Geek 03-21-2005 10:17 PM

not sure what you mean matt - are you sure you have the correct forumids in?

Lizard King 04-11-2005 10:32 AM

Quote:

if ($shownewpm)
{
eval('$pmscript = "' . fetch_template('pm_popup_script') . '";');
$footer .= str_replace('"private.php', '"' . $vboptions['bburl'] . '/private.php', $pmscript);
}
This part cannot be completed in cmps 1.0.1 because in vba_cmps_include_bottom.php you cannot find this. Is it possible to get this working in any other way ?

joerns 04-19-2005 05:18 AM

Hi there,

thanks for this excellent hack. I installed it following the instructions, and the hack does display the latest articles on the portal page. But every so often, I get the following error:

Database error in vBulletin 3.0.6:

Invalid SQL:
SELECT
thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid

,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview

FROM thread as thread

LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')

WHERE open <> '10' AND thread.visible = 1 Array AND deletionlog.primaryid IS NULL
ORDER BY thread.dateline DESC
LIMIT 4

mysql error: You have an error in your SQL syntax near 'Array AND deletionlog.primaryid IS NULL
ORDER BY thread.dateline DESC
LI' at line 14

mysql error number: 1064

What could the problem be?

KTBleeding 04-19-2005 05:26 PM

When using GAS 3.51, I can not get certain settings to show up. Like the article icon does not show up. I also experienced the settings not saving in the AdminCP once or twice before they finally did save.

Just bringing it to your attention Geek. Thanks for all the help thus far.

EDIT: Nevermind all of the above, I JUST noticed that the "icon" means the Post Icons rather than the actual Article Icon itself. But I still did get the settings not saving thing.

Is there a way to include the Article Icon as well?

The Geek 04-19-2005 05:31 PM

Quote:

Originally Posted by KTBleeding
When using GAS 3.51, I can not get certain settings to show up. Like the article icon does not show up. I also experienced the settings not saving in the AdminCP once or twice before they finally did save.

Just bringing it to your attention Geek. Thanks for all the help thus far.

EDIT: Nevermind all of the above, I JUST noticed that the "icon" means the Post Icons rather than the actual Article Icon itself. But I still did get the settings not saving thing.

Is there a way to include the Article Icon as well?

This hasnt been reworked for 3.0 (its designed for 2.0)

It will work - just not with the 3.0 extras (like header images etc...).

aloha 04-27-2005 06:48 AM

Okay hmmm... This is my error...

Warning: move_uploaded_file(/var/www/html/gas/images/1/4/0/ban2.jpg): failed to open stream: No such file or directory in /includes/functions_geekarticles_images.php on line 104

Warning: move_uploaded_file(): Unable to move '/tmp/phpNLcbdQ' to '/var/www/html/gas/images/1/4/0/ban2.jpg' in /includes/functions_geekarticles_images.php on line 104

If I could get some assistance... lol :: waves @ geek :: Thanks for the kick *** scripts :rolleyes: :nervous:

FightRice.com 04-27-2005 06:56 AM

:nervous:

wattieuk 06-01-2005 02:14 PM

Can anyone tell me how to rename the module (as it appears on the website). I cannot find a template to edit and can't find it in the php file.
Thanks.

COBRAws 06-26-2005 07:46 PM

Quote:

Originally Posted by The Geek
This hasnt been reworked for 3.0 (its designed for 2.0)

It will work - just not with the 3.0 extras (like header images etc...).

are u willing to? apart from only 51 installs hehe

[high]* COBRAws begs :P[/high]

Benumbed 07-17-2005 02:08 PM

Doest seem to work with the lastest vBadvanced CMPS v2.x

Aeolian_X 07-22-2005 04:30 AM

Is there an update coming for the latest vBAdvanced CMPS?

yoyoyoyo 08-03-2005 08:34 PM

this would be great for my new site- I hope that an update happens soon, but if it means other new geek-innovations being put to the backburner I can wait :D

The Geek 08-03-2005 08:43 PM

Im up to my eyeballs in several open projects and doubt ill get around to this for awhile. Personally I just wish someone would take the mack over as I know many would love this.

InsaneContender 08-16-2005 05:03 PM

I would love to be able to show either random articles, or latest articles on a sidebar all over my site. But it's not the vBCMPS sidebar, it is just a regular sidebar.

Is there a way to go about doing this?

altsounds 09-22-2005 12:25 AM

How can I get the article images to show?? I really need to know how to do this for both this and the featured articles add ons. Both great addons but make no sense without the ability to show the article image.

Can someone who is a better coder than me help me with this?? I have been trying for days now and am stumped and get nothing but red x's. :(

|Jordan| 10-09-2005 12:54 PM

I followed all the file edits and used the install script, but the settings do not show up in default settings. I looked in mysql and they are all there though.

master85 10-12-2005 10:11 AM

hi guys,
I've installed this Hack, but when I go to "Default Settings", I don't view anything else about Article setttings...

In which section I must search: Thread, News Archive, etc ???

Help me, please :(

Thanks,
Giuseppe Leone

P.S.
My system: vBulletin 3.09 -> vBA CMPS 2.0 -> GAS 3.53

trinigamers 06-06-2006 09:10 PM

is there one for 3.5?


All times are GMT. The time now is 10:04 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.01293 seconds
  • Memory Usage 1,819KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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